year_as_age: Converts decinal years to age.

Description Usage Arguments Value Author(s) Examples

Description

Converts a vector of decimal years to ages. The function requires birth dates.

Usage

1
year_as_age (x,born,format.born)

Arguments

x

Vector of decimal years.

born

Vector of dates of birth. Class is 'Date'

format.born

format of dates of birth.

Value

age

Author(s)

Frans Willekens

Examples

1
2
	year_as_age (2010.578,"1990-10-30","%Y-%m-%d")
    # result: 19.7506

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