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

Cole, Tim t|m@co|e @end|ng |rom uc|@@c@uk
Sat Jul 2 08:21:27 CEST 2022

Yes, but surely lme and nlme were developed at the same time?

From: Douglas Bates <dmbates using gmail.com>
Date: Friday, 1 July 2022 at 20:08
To: Cole, Tim <tim.cole using ucl.ac.uk>
Cc: r-sig-mixed-models using r-project.org <r-sig-mixed-models using r-project.org>
Subject: Re: [R-sig-ME] keep.data in lme

⚠ Caution: External sender

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<mailto: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)
> 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)

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<mailto:R-sig-mixed-models using r-project.org> mailing list

	[[alternative HTML version deleted]]

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