Determine age from date of birth in DD/MM/YY format

  • Determine age from date of birth in DD/MM/YY format

    Posted by Fadil on 15 June 2024 at 18:38

    Good evening everyone, I hope you’re all in good health
    Sorry, can you help me to determine the age from the date of birth in R? Is there a code?

    Frank replied 1 year ago 2 Members · 1 Reply
  • 1 Reply
  • Frank

    Organizer
    17 June 2024 at 13:52

    Hi Fadil, good question.

    You can use the R ‘lubridate’ package to manipulate your dates variables. Can you give us an example of how your date field and values look like?

Log in to reply.