Dear S users,
A confession, I am still trying to get my head around the new timeSeries
object class. For a while I have used the boxplot command with split and
cycle to create monthly boxplots of rts--regular time series data (similar
to the example on page 423 of the 3rd edition of MASS). I am trying to
use the new timeSeries class using the same algorithm, but get an error
message thus:
Problem in boxplot.default(split(Wl07H003.tS, cycle..: can't interpret
class "timeSeries" as an S Vers
ion 2 vector
A work around that I'm using is to convert the timeSeries data slot to an
rts object, but in the words of my Pascal professor of many years ago, "
your solution works, but isn't at all elegant Mr. Leeth".
So, in my search for a more "elegant" solution any hints would be helpful.
Chris
David C. Leeth
U.S. Geological Survey (WRD)
Atlanta, GA
P.S. ver 6.2, WinXP
|