create_input: Formatting data for infection model

Description Usage Arguments Details Value

View source: R/covid_status_functions.R

Description

Formatting the output of the spatial interaction model for use in the infection model and selecting which variables should be included.

Usage

1
create_input(micro_sim_pop, vars = NULL)

Arguments

micro_sim_pop

The output of the spatial interaction model

vars

Variables to be kept for use in the infection model

Details

BMI data recoded as: "Not applicable" = NA "Underweight: less than 18.5" = 0 "Normal: 18.5 to less than 25" = 1 "Overweight: 25 to less than 30" = 2 "Obese I: 30 to less than 35" = 3 "Obese II: 35 to less than 40" = 4 "Obese III: 40 or more" = 5

Value

A list of data to be used in the infection model


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