Hi, All
I have a data frame as follows:
> data.class(tapes)
[1] "data.frame"
> names(tapes)
[1] "date""loc" "class""drp" "data""scratch"
"reclaim" "total"
Date is a date; loc, class and drp are factors; the rest are numerics.
I want to generate separate plots by date for t
Hi, All
I have a data frame as follows:
> attach(mf)
> names(mf)
[1] "centre" "complex" "appl" "pool" "month""alloc_gb"
I want to summarize this as follows:
agg<-summarize(alloc_gb,by=llist(centre,complex,appl,month),FUN=sum,
na.rm=TRUE)
That seems to run fine but there somethin
Hi, All
I have a data frame like this.
> names(x)
[1] "month""alloc_gb"
One of the columns contains the dates I want to use:
> data.class(x$month)
[1] "yearmon"
I would like to make a time series object out of this. However the ts
function seems to require me to spell out the starting date
Phil: thank you very much, that's exactly what I was looking for! Why I
couldn't have figured that out from the doc for myself is another
question:-)
-Jim
-Original Message-
From: Phil Spector [mailto:spec...@stat.berkeley.edu]
Sent: 2009, April, 15 1:21 PM
To: Lane, Jim
S
Hi, All
Forgive me if this is a stupid newbie question. I'm having no luck
googling an answer to this, probably because I don't know the right R
terminology to frame my question. I want to know how to run an R
function on each combination of the values of 2 or more variables. In
SAS-speak this is
Hi, All
I have a time series object:
o1ts
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
2005 56 58 67 68 69 71 78 78
2006 84 83 86 97 103 123 120 134 131 127 135 137
2007 142 138 141 151 155 173 181 188 195 191 262 273
2008 283 295 311 327 334 340 361
And
6 matches
Mail list logo