Re: [R] Error in Penalized Command

2011-10-07 Thread Uwe Ligges
On 07.10.2011 05:50, Cheryl Johnson wrote: How do I fix this error in the penalized command? L<-penalized(y,x,lambda1=10) Assuming this is the function penalized of the penalized package (unstated): The lengths of your x and y differ. Uwe Ligges Error in .checkinput(match.call(), pare

[R] Error in Penalized Command

2011-10-06 Thread Cheryl Johnson
How do I fix this error in the penalized command? L<-penalized(y,x,lambda1=10) Error in .checkinput(match.call(), parent.frame()) : the length of "response" (20) does not match the row count of "penalized" (1000) Thanks! [[alternative HTML version deleted]] __