Skip to content

test_terms for nlme::lme #1

Description

@GuillaumeA2

Hi Henrik,

I'm having troubles getting test_terms to work for models fitted with nlme:lme (i.e. fit_arg=nlme::lme). The random part of model cannot be passed on to extra_formula (i.e. extra_formula=(1|ID)), nor to fit_arg (i.e. fit_arg=list(method="ML",random=(1|ID)), nor directly as an argument of the function.

Is this not possible or am I missing something?

I could switch to lme4::lmer but I have special variance structures (varIdent). Moreover, my actual random structure is more complicated (crossed) than what is described above so I had to deal with pdBlocked and pdIdent to combine crossed "year" and "plot" effects (i.e. random = pdBlocked(list(pdIdent(~ year_s - 1),pdIdent(~ plot - 1))).

Sorry for the trouble.

GA2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions