how.old: Determine numeric age

Description Usage Arguments Details Value Author(s) Examples

View source: R/how.old.R

Description

Determines the numeric age in years from a date range.

Usage

1
how.old(from, to)

Arguments

from

character, beginning of the date range in YYYY-MM-DD format.

to

character, end of the date range in YYYY-MM-DD format.

Details

Helper for LexisPlotR. The numeric age gets rounded to 5 digits.

Value

Numeric age in years.

Author(s)

Philipp Ottolinger

Examples

1
2
library(LexisPlotR)
how.old(from = "1900-01-01", to = "1905-01-01")

LexisPlotR documentation built on May 30, 2017, 3:39 a.m.