CRA.ts: Perform Comparative Risk Assesment

Description Usage Arguments Value

Description

This function accepts a TravelSurvey class object for performing CRA across locations within that object. A user may provide a 'scenario' dataframe for calculating such health outcomes. If no scenario is provided, the CRA wrapper function is run returning a data frame of results for Scenarios 1 (participation = 1) and 2 (participation = 0). If a scenario is provided, the user may specify boolean argument 'compare' to dictate whether their scenario results should be compared against Scenarios 1 and 2.

Usage

1
CRA.ts(ts, scenario, compare = TRUE)

Arguments

ts

TravelSurvey object

scenario

Data frame of scenario values: location, participation (pi1), intensity.mean (mu1), intensity.sd (sigma1)

compare

Boolean dictating whether results from given scenario will be compared against Scenarios 1 (pi1 = 0) and 2 (pi1 = 1).

Value

Data frame of location, physical activity associated with country's income level (Lear), risk function, and risk (or health burden aversion) for both Scenarios 1 and 2


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