Description Usage Arguments Value
Compute the proportion of the population that is meeting physical activity guidelines through active transport
1 | getProportion(ts, minimum = 7.5, byLocation = TRUE)
|
ts |
A TravelSurvey object |
minimum |
The minimum activity threshold of MET-hrs/week that persons should meet in order to avoid health risks. Default is 7.5 based on LTPA recommendation. |
byLocation |
Boolean dictating whether proportion returned will be singular value for overall TS object, or values for each location |
Percentage of sample meeting minimum activity. If stratified by location, a dataframe with columns location and proportion. If not, a singular value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.