rank_assign: Assign COVID cases by ranking individuals current risk

Description Usage Arguments Details Value

View source: R/covid_status_functions.R

Description

Used to assign cases for the time period in which the model is being seeded. Individuals are ranked in descending order by current risk and then desired number of cases are assigned to the highest ranking individuals.

Usage

1
rank_assign(df, daily_case, seed = NULL)

Arguments

df

Input list of the model - output of covid_prob function

daily_case

The desired number of cases that should be assigned on this day

seed

Seed for model run

Details

Will be run in place of the case_assign function when the model is being seeded.

Value

An updated version of the in put list with new rank assigned cases added


Urban-Analytics/rampuaR documentation built on Nov. 27, 2020, 4:34 a.m.