View source: R/add_modelling_features.R
add_intergenerational | R Documentation |
For modelling purposes it is useful to have a feature that is the absolute
difference between age_from
and age_to
columns.
add_intergenerational(data)
data |
data.frame with columns |
data.frame with extra column, intergenerational
polymod_contact <- get_polymod_contact_data()
polymod_contact %>% add_intergenerational()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.