separate.into.risk.groups: Separate the population into risk groups

View source: R/deprecated.R

separate.into.risk.groupsR Documentation

Separate the population into risk groups

Description

Superseded by stratify_by_risk function

Usage

separate.into.risk.groups(age_groups, risk)

Arguments

age_groups

A vector containing the population size of each age group

risk

A matrix with the fraction in the risk groups. The leftover fraction is assumed to be low risk

Value

A vector with the population in the low risk groups, followed by the other risk groups. The length is equal to the number of age groups times the number of risk groups (including the low risk group).


MJomaba/flu-evidence-synthesis documentation built on April 26, 2022, 11:12 p.m.