getProportion: Compute the proportion of the population that is meeting...

Description Usage Arguments Value

Description

Compute the proportion of the population that is meeting physical activity guidelines through active transport

Usage

1
getProportion(ts, minimum = 7.5, byLocation = TRUE)

Arguments

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

Value

Percentage of sample meeting minimum activity. If stratified by location, a dataframe with columns location and proportion. If not, a singular value.


GHI-UW/HOT documentation built on June 14, 2019, 1:21 a.m.