Skip to content

reading in time series

1 message · Mogguy

#
You have to tell R that a column has date/time content. Here is an example:

test<-"3/23/2010 20:55" #this is your format 
as.POSIXct(test, format="%m/%d/%Y %H:%M") #with the format parameter you
tell R how to interpret your data

_______________________
Moritz Grenke
http://www.360mix.de