**From:** Martin Wegmann (*baliola@riseup.net*)

**Date:** Fri 13 Jun 2003 - 23:27:15 EST

**Next message:**Paul, David A: "RE: [R] covariate data errors"**Previous message:**Torsten Hothorn: "Re: [R] (no subject)"**Next in thread:**Martin Wegmann: "Re: [R] lars - lasso problem"**Maybe reply:**Martin Wegmann: "Re: [R] lars - lasso problem"

Message-id: <200306131327.15644.baliola@riseup.net>

hello

I tried to use lars() but neither with my own data nor with the sample data it

works. I get in both cases the following error prompt:

*> data(diabetes)
*

*> par(mfrow=c(2,2))
*

*> attach(diabetes)
*

*> x<-lars(x,y)
*

Error in one %*% x : requires numeric matrix/vector arguments

*> x<-lars(x,y, type="lasso")
*

Error in one %*% x : requires numeric matrix/vector arguments

*> x<-lars(x,y, type="lar")
*

Error in one %*% x : requires numeric matrix/vector arguments

due to the prompt "requires numeric matrix..." I changed the variables to

matrix/vector or used different columns but it doesn't work either.

what does "error in one %*%x mean?

thanks in advance, cheers Martin

______________________________________________

R-help@stat.math.ethz.ch mailing list

https://www.stat.math.ethz.ch/mailman/listinfo/r-help

**Next message:**Paul, David A: "RE: [R] covariate data errors"**Previous message:**Torsten Hothorn: "Re: [R] (no subject)"**Next in thread:**Martin Wegmann: "Re: [R] lars - lasso problem"**Maybe reply:**Martin Wegmann: "Re: [R] lars - lasso problem"

*
This archive was generated by hypermail 2.1.3
: Tue 01 Jul 2003 - 09:11:53 EST
*