[R] Re : Create a function "automatically" from lm formula and coefficients?

Pascal Oettli kridox at ymail.com
Thu Mar 1 03:53:02 CET 2012


Hi Keith,

Do you mean as "predict.lm" can do?

Regards,
Pascal


________________________________
De : Keith Weintraub <kw1958 at gmail.com>
À : r-help at r-project.org 
Envoyé le : Jeudi 1 mars 2012 11h41
Objet : [R] Create a function "automatically" from lm formula and coefficients?

I hope the subject says it all.

I want to be able to use an lm object and the associated coefficients to create  function that can produce "expected" "y" values given inputs.

Thanks,
KW

--


    [[alternative HTML version deleted]]

______________________________________________
R-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list