[Rd] "Template" for model.matrix functions

From: Gregor Gorjanc <gregor.gorjanc_at_gmail.com>
Date: Mon 03 Jul 2006 - 00:24:02 GMT


Hello!

I would like to write a function that would create a (part) of a model matrix to be used in lm() like functions i.e

lm(y ~ myFunc(x))

Where can I find a good example or a template for this as well as for predict method?

Thanks!

-- 
Lep pozdrav / With regards,
    Gregor Gorjanc


----------------------------------------------------------------------
University of Ljubljana PhD student Biotechnical Faculty Zootechnical Department URI: http://www.bfro.uni-lj.si/MR/ggorjan Groblje 3 mail: gregor.gorjanc <at> bfro.uni-lj.si SI-1230 Domzale tel: +386 (0)1 72 17 861 Slovenia, Europe fax: +386 (0)1 72 17 888
----------------------------------------------------------------------
"One must learn by doing the thing; for though you think you know it, you have no certainty until you try." Sophocles ~ 450 B.C. ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Mon Jul 03 10:27:37 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Mon 03 Jul 2006 - 18:24:52 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.