merge_pop_withid: A function returning a merged dataframe from a list of...

View source: R/utils.R

merge_pop_withidR 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.


DaphneGiorgi/IBMPopSim documentation built on July 16, 2025, 8:04 p.m.