[R] lars - lasso problem

Thomas Lumley tlumley at u.washington.edu
Fri Jun 13 16:57:29 CEST 2003


On Fri, 13 Jun 2003, Martin Wegmann wrote:

> hello Berwin,
>
> thanks for your help, I haven't considered this x-naming problem (pretty
> stupid mistake :-) ) - now it is working.
>

Because I can't keep track of this sort of thing I like to use with()
rather than attach() when there isn't a data= argument.

  x<-with(diabetes, lars(x,y))

doesn't cause the same problem.

	-thomas




More information about the R-help mailing list