get.time.point: Derive time point of generation
Description
Function to derive time point of generation for each individual
Usage
get.time.point(
  population,
  database = NULL,
  gen = NULL,
  cohorts = NULL,
  id = NULL,
  use.id = TRUE
)
Value
Time point of generation for in gen/database/cohorts selected individuals
Arguments
- population
- Population list 
- database
- Groups of individuals to consider for the export 
- gen
- Quick-insert for database (vector of all generations to export) 
- cohorts
- Quick-insert for database (vector of names of cohorts to export) 
- id
- Individual IDs to search/collect in the database 
- use.id
- Set to TRUE to use MoBPS ids instead of Sex_Nr_Gen based names (default: TRUE) 
Examples
Run this codedata(ex_pop)
get.time.point(ex_pop, gen=2)
Run the code above in your browser using DataLab