get.age | R Documentation |
Given the date of birth and the date of visit, along with their format, it evaluates the subject's age at visit
get.age(born, visit, format.born = "%m/%d/%Y", format.visit = "%m/%d/%Y")
born |
date of birth (character) |
visit |
date of visit (character) |
format.born |
date of birth format |
format.visit |
date of visit format |
age at visit
Alessia Visconti
get.age("01/01/1980", "31/12/2019", "%d/%m/%Y", "%d/%m/%Y")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.