age_as_Date: Converts a vector of ages to object of class 'Date'.

Description Usage Arguments Value Author(s) Examples

Description

Converts vector of ages to object of class 'Date'.

Usage

1
age_as_Date (x,born,format.born,format.out)

Arguments

x

vector of ages

born

vector of dates of birth

format.born

Format of birth dates

format.out

Format of output dates

Value

decimal year (year and fraction of year)

Author(s)

Frans Willekens

Examples

1
2
3
     age_as_Date (23.456,"1990-10-30","%Y-%m-%d")
     # date is 14 April 2014
     

Biograph documentation built on May 1, 2019, 8:48 p.m.