Description Usage Arguments Value
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.
1 |
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). |
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.