Skip to contents

The function generates a figure showing the daily mean of PAL in correspondence with the FAO (2004; http://www.fao.org/3/y5686e/y5686e07.htm#bm07.3) categories.

Usage

create_fig_pal(score, language = c("en", "fr", "de"))

Arguments

score

A numeric value for mean daily PAL.

language

A character value for setting the language with which the figure should be created: en for english; fr for french.

Value

A ggplot object.

Examples

create_fig_pal(score = 1.8)
#> Warning: All aesthetics have length 1, but the data has 5 rows.
#>  Please consider using `annotate()` or provide this layer with data containing
#>   a single row.
#> Warning: All aesthetics have length 1, but the data has 5 rows.
#>  Please consider using `annotate()` or provide this layer with data containing
#>   a single row.
#> Warning: All aesthetics have length 1, but the data has 5 rows.
#>  Please consider using `annotate()` or provide this layer with data containing
#>   a single row.