I have a voluminous database with several data types, e.g.:
- A date of birth variable in format dd / mm / yyyy
- A variable date of meeting with the subject in format dd / mm / yyyy
I have to create a new variable giving me the age of the subject in years at the time of the meeting (based on 365.25 days per year)
Each of the two variables, POSIXlt [1: 1],
format: NA to the function str ()
How can I solve this problem?
summary()
on your data? That would help! – Spacedman