Message-ID: <6B1196D7-AD89-419C-B610-7D4F86F0216A@gmail.com>
Date: 2011-11-30T12:03:38Z
From: michael.weylandt at gmail.com (R. Michael Weylandt
Subject: Storing the linear model object
In-Reply-To: <4ED5F607.7060800@u-psud.fr>
If you mean storing it within one session, it's just like any other object
m <- lm(...)
and it can be put in lists, modified, whatever just like any other object.
Michael
On Nov 30, 2011, at 4:23 AM, Diane Bailleul <diane.bailleul at u-psud.fr> wrote:
> 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
>
> ______________________________________________
> 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.