View source: R/daily_behaviour.R
This function computes a daily behaviour domain score (
db_score) based on the step and self-reported physical activity scores. This score
is used to compute the overall physical literacy score (
get_db_score(step_score = NA, self_report_pa_score = NA)
A numeric (integer) vector representing the pedometer steps score (valid values are integers between 0 and 25).
A numeric (integer) vector representing the self-reported physical activity score (valid values are integers between 0 and 5).
capl functions called by this function include:
Returns a numeric (integer) vector with values between 0 and 30 (if valid) or NA (if not valid).
get_db_score( step_score = c(20, 6, 13, 5, NA, 4.5), self_report_pa_score = c(3, 2, 1, 4, 7, 3) ) #  23 8 14 9 NA NA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.