> From: Douglas Bates
>
> Henric Nilsson wrote:
> > On Mon, 2005-05-02, 17:24, Douglas Bates wrote:
> >
> >
> >>weihong wrote:
> >>
> >>>Can GLMM take formula derived from another object?
> >>>
> >>>foo <- glm (OVEN ~ h + h2, poisson, dataset)
> >>>
> >>># ok
> >>>bar <- GLMM (OVEN ~ h + h2, poi
Henric Nilsson wrote:
> On Mon, 2005-05-02, 17:24, Douglas Bates wrote:
>
>
>>weihong wrote:
>>
>>>Can GLMM take formula derived from another object?
>>>
>>>foo <- glm (OVEN ~ h + h2, poisson, dataset)
>>>
>>># ok
>>>bar <- GLMM (OVEN ~ h + h2, poisson, dataset, random = list (yr = ~1))
>>>
>>>#e
On Mon, 2005-05-02, 17:24, Douglas Bates wrote:
> weihong wrote:
>> Can GLMM take formula derived from another object?
>>
>> foo <- glm (OVEN ~ h + h2, poisson, dataset)
>>
>> # ok
>> bar <- GLMM (OVEN ~ h + h2, poisson, dataset, random = list (yr = ~1))
>>
>> #error
>> bar <- GLMM (foo$formula,
weihong wrote:
> Can GLMM take formula derived from another object?
>
> foo <- glm (OVEN ~ h + h2, poisson, dataset)
>
> # ok
> bar <- GLMM (OVEN ~ h + h2, poisson, dataset, random = list (yr = ~1))
>
> #error
> bar <- GLMM (foo$formula, poisson, dataset, random = list (yr = ~1))
> #Error in foo