Displaying 1 result from an estimated 1 matches for "date_commissioned".
2009 Nov 08
1
Turn dates into age
Ive got a big column of dates (also some fields dont have a date so they have
NA instead),
that i have converted into date format as so...
dates<-as.character(data[,"date_commissioned"]); # converted dates to
characters
dates[1:10]
[1] "19910101" "19860101" "19910101" "19860101" "19910101" "19910101"
"19910101" "19910101" "19910101" "19910101"
dateObs <- as.Date(dates,for...