[R] Storing the linear model object

Diane Bailleul diane.bailleul at u-psud.fr
Wed Nov 30 10:23:19 CET 2011


Good morning,
Normally, if you save your R environment, some objects, like your lm, 
must be saved in with.
Otherwise, have you tried save() or dput() functions ?

Le 11/30/2011 6:10 AM, arunkumar1111 a écrit :
> Hi
>
>    Please let me know if we can store the linear model object in the data
> base and retrive the object and output from them
>
> Data<- read.csv("C:/FE and RE.csv")
> Formula="Y~X2+X3+X4
> lmobject = lm(formula=Formula,data=Data)
>
> can i store the lm object in the database and and is it possible to retrive
> it and get the summary information
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Storing-the-linear-model-object-tp4121944p4121944.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.


-- 
Diane Bailleul
Doctorante
Université Paris-Sud 11 - Faculté des Sciences d'Orsay
Unité Ecologie, Systématique et Evolution
Département Biodiversité, Systématique et Evolution
UMR 8079 - UPS CNRS AgroParisTech
Porte 320, premier étage, Bâtiment 360
91405 ORSAY CEDEX FRANCE
(0033) 01.69.15.56.64



More information about the R-help mailing list