I have a data from with 3 numeric variables, and wish to create a Date object. The old "date" library had a function mdy.date to do this. I've chased all of the See Also sections I can find for the Date class, and didn't find anything comparable.
Yes, I can use as.Date(paste(data$year+1900, data$month, data$day), sep='/')) but it seems odd pack something together that will immediately be unpacked. Terry Therneau ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.