Calculating ages

TMTOWTDI but not simply year1 – year2.

A post from stack overflow usesĀ lubridate package.

You can write your own function, e.g. Matt’s blog (note Harold Baize’s comment).

 

Advertisements