powered by
Function to set time point of birth for individuals
set.time.point( population, database = NULL, gen = NULL, cohorts = NULL, time.point = 0 )
Population-List with newly entered time points
Population list
Groups of individuals to consider for the export
Quick-insert for database (vector of all generations to export)
Quick-insert for database (vector of names of cohorts to export)
Input value for the time point (time the cohort of the individual was generated) (default: 0)
data(ex_pop) population <- set.time.point(ex_pop, database=cbind(1,1), time.point = 2)
Run the code above in your browser using DataLab