[R] Y axis of 1-D Linear Discriminant Histograms

2009-11-18 Thread Bob Farmer
ch prefer to display a more intuitive y-axis. Example: library(MASS) ld1<-lda(Species ~ Sepal.Length + Sepal.Width, iris) plot(ld1, type = "histogram", dimen = 1) #(eyeballing it suggests that the sum of the "frequencies" reported on the y-axis for each group exceeds 1

Re: [R] ccf and covariance

2008-04-23 Thread Bob Farmer
question is elementary or naive -- this is my first time dealing with the source code. Thanks again. --Bob Farmer On Wed, Apr 23, 2008 at 3:31 PM, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > On Wed, 23 Apr 2008, Bob Farmer wrote: > > > > Hi. > > It's my und

[R] ccf and covariance

2008-04-23 Thread Bob Farmer
(type = "covariance"), but a consistent result between cor() and ccf(type = "correlation")? Or have I misunderstood what is a cross-correlation? (unfortunately, I can't seem to get a look at the ccf code, since I think it's buried in some C function outside of the main environme

Re: [R] Equal confidence interval arrowhead lengths across multiple-paneled lattice plots with free y-scales

2007-11-16 Thread Bob Farmer
Yep, that did it, thanks. --Bob Deepayan Sarkar wrote: > On Nov 15, 2007 8:08 PM, Bob Farmer <[EMAIL PROTECTED]> wrote: >> Hi. >> I've got a lattice plot with multiple panels and two groups superimposed >> on each panel. Each panel has an independently scaled y

[R] Equal confidence interval arrowhead lengths across multiple-paneled lattice plots with free y-scales

2007-11-15 Thread Bob Farmer
(x,y,...) } xyplot(Y ~ X | Location, groups = Species, type = "l", data = summTable, scales = list(relation = "free"), ly = summTable$ly, uy = summTable$uy, auto.key = T, panel = panel.superpose, panel.groups = panel.func ) Thank you. -