merge_pop_withid {IBMPopSim} | R Documentation |
A function returning a merged dataframe from a list of population dataframes with id.
Description
A function returning a merged dataframe from a list of population dataframes with id.
Usage
merge_pop_withid(pop_df_list, chars_tracked = NULL)
Arguments
pop_df_list |
A list of population dataframe where the first three columns of each dataframe are id, birth and death. |
chars_tracked |
A vector of characteristics to be tracked over time. |
Value
A dataframe composed of all individuals with their characteristics at each simulation time.
[Package IBMPopSim version 1.0.0 Index]