[R] trouble with predict.l1ce

Martin Maechler maechler at stat.math.ethz.ch
Tue Dec 9 12:11:56 CET 2003


>>>>> "clayton" == clayton springer <clayton.springer at pharma.novartis.com>
>>>>>     on Mon, 8 Dec 2003 13:48:11 -0500 writes:

    clayton> Dear R-help, I am having trouble with the predict
    clayton> function in lasso2. For example:

    >> data(Iowa) l1c.I <- l1ce(Yield ~ ., Iowa, bound = 10,
    >> absolute.t=TRUE) predict (l1c.I) # this works is fine
    >> predict (l1c.I,Iowa)
    clayton> Error in eval(exper,envir, enclos) : couldn't find
    clayton> function "Yield"


    clayton> And I have similar trouble whenever I use the
    clayton> newdata argument in prediction.

yes.
This is something that needs to be added to the lasso2 package.

Volunteers are sought ...

Martin Maechler <maechler at stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO C16	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><




More information about the R-help mailing list