set.time.point: Set time point

View source: R/set.time.point.R

set.time.pointR Documentation

Set time point

Description

Function to set time point of birth for individuals

Usage

set.time.point(
  population,
  database = NULL,
  gen = NULL,
  cohorts = NULL,
  time.point = 0
)

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)

time.point

Input value for the time point (time the cohort of the individual was generated) (default: 0)

Value

Population-List with newly entered time points

Examples

data(ex_pop)
population <- set.time.point(ex_pop, database=cbind(1,1), time.point = 2)

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

Related to set.time.point in MoBPS...