Learn R Programming

visualFields (version 1.0.7)

getage: Calculates age

Description

Computes ages at specific dates

Usage

getage(dob, date)

Value

getage returns the age from the date of birth and a certain date

Arguments

dob

date(s) of birth

date

date(s) for which to calculate age

Examples

Run this code
getage("1977-01-31", "2014-01-30")

Run the code above in your browser using DataLab