get.age.point: Derive age point

View source: R/get.age.point.R

get.age.pointR Documentation

Derive age point

Description

Function to derive age point for each individual (Same as time.point unless copy.individual is used for aging)

Usage

get.age.point(
  population,
  database = NULL,
  gen = NULL,
  cohorts = NULL,
  id = NULL,
  use.id = TRUE
)

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)

Value

Time point selected gen/database/cohorts-individuals are born

Examples

data(ex_pop)
get.age.point(ex_pop, gen=2)

MoBPS documentation built on Nov. 5, 2025, 6:26 p.m.

Related to get.age.point in MoBPS...