expand_data | R Documentation |
This function adds new columns to the birth level data, i.e.:
age
the age of the mother at each birth (in years)
parity
the rank of a given birth within the life history of a mother
PP
whether the mother go on reproducing after a given birth
IBI
the interbirth interval between a given birth and the next one (in months)
expand_data(birth_level_data)
birth_level_data |
the dataset to expand |
These new columns are derived from existing columns and are required for the fit of statistical models.
a tibble
expand_data(data_births_all)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.