Description Usage Arguments Value Author(s) See Also Examples
Computes the age of a person (in years) on a specified date from the person's date of birth.
1 | age.in.years(on.this.date, birth.date)
|
on.this.date |
A vector of |
birth.date |
A vector of |
An integer vector containing the age in years.
Ben Rich <benjamin.rich@certara.com>
1 2 3 | age.in.years(
as.Date(c("2012-03-01", "2012-02-29", "2012-02-28")),
as.Date(c("1980-02-03", "1980-02-29", "1980-05-28")))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.