locallevel_pop_props: Estimate Local Level Population Proportions

Description Usage Arguments Details Value See Also Examples

View source: R/locallevel_pop_props.R

Description

Combined LA level data for single risk factors and non-LA but multiple risk factor data sets. Estimates a (partial-) joint distribution for each LA using the reference tables. This is in contrast to locallevel_pop_sim which generates a sample of individuals so is much slower to run. Makes relative (to national average) LA-level prevalence adjustments.

Usage

1
locallevel_pop_props(ageRange = 16:24)

Arguments

ageRange

Integer sequence of subset of age, which the probability of belonging to will sum to 1.

Details

Input data is in data(pop_sim_input) in STIecoPredict package.

Value

list by each LA

See Also

locallevel_pop_sim

Examples

1
2
data("locallevel_pop_input")
sim_prop <- locallevel_pop_props()

n8thangreen/STIecoPredict documentation built on June 7, 2020, 12:50 p.m.