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

2009-07-21 Thread John Kane
It looks like a data.frame to me. Try str(psd) or class(psd) to check. Typeof returns "list" for a data.frame since "data.frame" apparently is a subset of "list". The 'months' that you are seeing are simply the rownames which by chance are the same as the months. I's suggest adding the mont

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