View source: R/create_fig_sed.R
create_fig_sed | R Documentation |
The function generates a figure showing mortality hazard ratio in correspondence with daily SED hours. The figure is based on data extracted from Ekelund et al. paper (2019; doi: 10.1136/bmj.l4570).
create_fig_sed(score, language = c("en", "fr", "de"))
score |
A numeric value for mean daily SED time in minutes. |
language |
A character value for setting the language with which the figure should be created: |
A ggplot object.
create_fig_sed(score = 400)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.