The function generates a figure showing mortality hazard ratio in correspondence with daily MVPA minutes. The figure is based on
data extracted from Ekelund et al. paper (2019; doi: 10.1136/bmj.l4570).
Usage
create_fig_mvpa(score, language = c("en", "fr", "de"))
Arguments
- score
A numeric value for mean daily MVPA time in minutes.
- language
A character value for setting the language with which the figure should be created: en
for english; fr
for french.
Examples
create_fig_mvpa(score = 27)
#> Warning: All aesthetics have length 1, but the data has 66 rows.
#> ℹ Please consider using `annotate()` or provide this layer with data containing
#> a single row.