[R-sig-ME] keep.data in lme

Douglas Bates dmb@te@ @end|ng |rom gm@||@com
Fri Jul 1 21:07:57 CEST 2022


The nlme package predated lme4 by several years and features of lme4 were
never backported to nlme.

On Fri, Jul 1, 2022 at 4:04 AM Cole, Tim <tim.cole using ucl.ac.uk> wrote:

> I note that lme has an argument keep.data which saves a copy of data (if
> it’s a data frame) to the lme object, whereas nlme lacks this argument. I’m
> curious - does anyone (BB?) know why they are different?
>
> > args(lme)
> function (fixed, data = sys.frame(sys.parent()), random, correlation =
> NULL,
>     weights = NULL, subset, method = c("REML", "ML"), na.action = na.fail,
>     control = list(), contrasts = NULL, keep.data = TRUE)
> NULL
> > args(nlme)
> function (model, data = sys.frame(sys.parent()), fixed, random = fixed,
>     groups, start, correlation = NULL, weights = NULL, subset,
>     method = c("ML", "REML"), na.action = na.fail, naPattern,
>     control = list(), verbose = FALSE)
> NULL
>
> Best wishes,
> Tim Cole
>
> Population Policy and Practice
> UCL Great Ormond Street Institute of Child Health
> 30 Guilford Street, London WC1N 1EH
>
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-mixed-models using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
>

	[[alternative HTML version deleted]]



More information about the R-sig-mixed-models mailing list