[R] LARS error

From: Cal Stats <calstats05_at_yahoo.com>
Date: Thu 25 May 2006 - 04:54:39 EST


Hi All,   

  when i run   

     cv.lars(x3,y3)   

  it runs fine. but when i run   

  cv.lars(x3,y3,fraction=seq(0,0.1,100))   

  I get the following error.   

  Error in apply((y[omit] - fit)^2, 2, mean) : dim(X) must have a positive length   

  Any help/suggestions will be appreciated.   

  Thanks.   

  Harsh                    


        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu May 25 05:17:03 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 26 May 2006 - 02:10:22 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.