[R] Plotting lines(...type="b", pch=1) vs. legend(pch=1)

2009-04-01 Thread Michael R. Head
p://stat.ethz.ch/R-manual/R-patched/library/graphics/html/legend.html ) which option to set on the legend() call. Is there a way to get the legend to plot lines and point characters without overplotting the character that I'm missing? -- Michael R.

Re: [R] plotting on map

2009-03-02 Thread Michael R. Head
elp@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Michael R. Head http://www.suppressingfire.org/~burner/ http:

Re: [R] tilde on a spanish keyboard?

2008-08-12 Thread Michael R. Head
On Tue, 2008-08-12 at 14:11 +0100, Prof Brian Ripley wrote: > On Tue, 12 Aug 2008, Michael R. Head wrote: > > > On Tue, 2008-08-12 at 07:15 -0400, Martin Henry H. Stevens wrote: > >> Thanks Henrique. We need to use the tilde in formula statements as in, > >>

Re: [R] tilde on a spanish keyboard?

2008-08-12 Thread Michael R. Head
/www.cas.muohio.edu/ecology > http://www.muohio.edu/botany/ > "E Pluribus Unum" > > "I love deadlines. I love the whooshing noise they make as they go by." > (Douglas Adams) > > > If you send an attachment

Re: [R] Quickly calculating the mean results over a collection of data sets?

2008-08-12 Thread Michael R. Head
t;,"X","Y")], mean) Oh, that does simplify things quite a bit. I just compared the time to do your version vs. mine on one of my larger data sets. My version takes about 2 minutes, yours takes about 1 second. Fantastic! I'll have to learn about rbind and aggr

Re: [R] Frequency vector

2008-08-12 Thread Michael R. Head
ly thing I want is the 4. Isn't this one if the situations where you actually want b[[1]]? > So this seems obvious: > print (b[1,2]) > > but it does not work: > Error in b[1, 2] : incorrect number of dimensions > > How do I get a vector or how do I refer to the "4" w

[R] Quickly calculating the mean results over a collection of data sets?

2008-08-12 Thread Michael R. Head
X == x0)$Z )}) testMeans[row,]$Z = mean(meanValues) } } } ### I will then want to plot certain values over (X, Z), ### so ultimately, I'm going to subset the data further. ### Code which gives me a list of W tables with mean Z values ### works, too. ### # End code snippet #