[R] converting multiple columns from POSIX* to Date

Farrel Buchinsky fjbuch at gmail.com
Thu Dec 11 00:26:17 CET 2008


converting a POSIX class variable to a date class is easy.
dates<-as.Date(x) #where X is of class POSIX
How does one do that to all columns in a data frame that are of POSIX
class and leave all the other columns (integers, factors) as is.

Feel free to reply with just one or two buzzwords that I could then
search for to find how to do it.

Farrel Buchinsky



More information about the R-help mailing list