CreateBirthDate: CreateBirthDate

Description Usage Arguments Value

View source: R/sim.R

Description

Creates a column in the input data frame specifying each agent's birth date baed on its specified age

Usage

1

Arguments

input

a data frame containing the agents used to start the model. Must containing a column specifying "age" as a numeric value.

Value

The input data frame with a column "birth_date" containing each agent's birth_date as a POSIXct object.


Blakemassey/ibmr documentation built on Dec. 25, 2021, 8:39 a.m.