Re: [R] how to use a list to create a plot

2009-07-21 Thread John Kane
e as the months. I's suggest adding the months to the data.frame and then plotting psd <- xx psd[,4] <- 1:12 names(psd)[4] <- "months" plot(sd~months, data=psd) --- On Tue, 7/21/09, Graves, Gregory wrote: > From: Graves, Gregory > Subject: [R] how to use a list to

Re: [R] how to use a list to create a plot

2009-07-21 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 21.07.2009 14:37:35: > > > Graves, Gregory wrote: > > I issued the following command to obtain the std dev for each month. > > > > > > > > psd<-numSummary(Sal, groups=month, statistics=c("sd")) > > > numSummary is not in base R, is it? If not, whi

Re: [R] how to use a list to create a plot

2009-07-21 Thread Uwe Ligges
Graves, Gregory wrote: I issued the following command to obtain the std dev for each month. psd<-numSummary(Sal, groups=month, statistics=c("sd")) numSummary is not in base R, is it? If not, which package? Please read the posting guide! Please provide reproducible code (we do not have

[R] how to use a list to create a plot

2009-07-21 Thread Graves, Gregory
I issued the following command to obtain the std dev for each month. psd<-numSummary(Sal, groups=month, statistics=c("sd")) which resulted in > psd sd n NA 1 6.930340 9367 2319 2 7.847003