create_fig_ratio_mvpa_sed {activAnalyzer}R 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)


[Package activAnalyzer version 2.1.1 Index]