[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)
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<mailto:R-sig-mixed-models using r-project.org> mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-sig-mixed-models&data=05%7C01%7Ctim.cole%40ucl.ac.uk%7C5527baf6d88442c781b608da5b950a22%7C1faf88fea9984c5b93c9210a11d9a5c2%7C0%7C0%7C637922992922800142%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=9YxP1AD8iN3jTUe2LgrdjWBMQG8ghLL7KLNC02eEQ0g%3D&reserved=0>
[[alternative HTML version deleted]]
More information about the R-sig-mixed-models
mailing list