See and *read* the help file ?glm
the object returned by glm() includes the `data' component
hence:
aa<-glm(..)
aa$data
or also eval(aa$call$data)
leffgh ha scritto:
> my function is
> glm(a~log(b)+c+d+e,family=binomial,data=f)->aa
>
>
> I want to extract the original data set of a
Try:
aa$data
On 12/11/2007, leffgh <[EMAIL PROTECTED]> wrote:
>
> my function is
> glm(a~log(b)+c+d+e,family=binomial,data=f)->aa
>
>
> I want to extract the original data set of aa. How to do it ?
>
> You may suggest the model.frame() function. In fact ,i have tried it.
> model.frame returns
my function is
glm(a~log(b)+c+d+e,family=binomial,data=f)->aa
I want to extract the original data set of aa. How to do it ?
You may suggest the model.frame() function. In fact ,i have tried it.
model.frame returns a data frame of containing a,log(b) NOT b,c,d,e
I want to extract a d
3 matches
Mail list logo