create_fig_ratio_mvpa_sed: Create a figure showing the mean daily MVPA/SED ratio

View source: R/create_fig_ratio_mvpa_sed.R

create_fig_ratio_mvpa_sedR Documentation

Create a figure showing the mean daily MVPA/SED ratio

Description

The function generates a figure showing mortality hazard ratio in correspondence with the daily mean of the MVPA/SED ratio. The figure is based on data extracted from Chastin et al. paper (2021; doi: 10.1123/jpah.2020-0635).

Usage

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

Arguments

score

A numeric value for mean daily MVPA/SED ratio.

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_ratio_mvpa_sed(score = 0.06)


activAnalyzer documentation built on Sept. 24, 2024, 1:07 a.m.