I am trying to calculate the age of trees and create a new column age_of_tree
, from their plant_date
to today. The date format in the dataframe is standard ex: 2007-5-27 00:00:00 UTC
The column name with the date of planting is plant_date
not sure where to start. I have used some other answers from similar questions but has not worked or I am applying them incorrectly.
Could use some suggestions or advice, very new to working in R.