Re: [R] Stepwise Discriminant... in R

2011-03-15 Thread Ty Smith
I have tried this with my actual data, and everything works smoothly, including the monotonically decreasing error rates. e.g.: formula Error 1 Cr 0.4167 2 Cr + Mg 0.1667

Re: [R] Stepwise Discriminant... in R

2011-03-13 Thread Bill.Venables
If you want to do a stepwise selection there is a function in the klaR package to do it. This is not what you are asking for, though. You want a way of finding the successive error rates as additional variables are added in the forward selection process. As far as I can see you have to do thi