Re: [R] help with lda function from MASS package

2009-09-29 Thread Pete Shepard
Thanks David, Yes, I am talking about the MASS package.Thank you for pointing out that these scale the same. My question is, how do I get from the V1 data: V1 1 164.4283 2 166.2492 3 170.5232 4 156.5622 5 127.7540 6 136.7704 7 136.3436 to the other set of data: + 1 -2.3769280 + 2

Re: [R] help with lda function from MASS package

2009-09-29 Thread David Winsemius
If you want to see how Venables and Ripley get their lda distances, then this is a quick path to the (uncommented) source: 1) methods(lda) [1] lda.data.frame* lda.default*lda.formula*lda.matrix* 2) since you call involved a formula I looked first at: getAnywhere(lda.formula) A single