[R] LARS error

Cal Stats
Wed, 24 May 2006 18:54:39 -0000

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]]