search for: dfzoo

Displaying 1 result from an estimated 1 matches for "dfzoo".

Did you mean: dfoo
2007 May 31
1
plotting variable sections of hourly time series data using plot.zoo
...or library(chron) DF$datetime <- with(DF,chron(paste(month,day,year,sep="/"))+hour/24) #Try to convert DF into ts - object DFts DFts <- as.ts(DF) # works, but gives back: Warning message: Class information of one or more columns was lost.??? #Try to convert DF into zoo - object DFzoo library(zoo) DFzoo <- as.zoo(DFts) #Plot of whole time series skipping first 5 and last 3 columns plot.zoo(DFzoo[ ,6:ncol(myDFzoo-3)]) # works, but x-axis labels are numbers from 1 to ...last hour I would like to use plot.zoo for plotting: - the whole period (3years) --> axis-labels...