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

Ben Bolker bbo|ker @end|ng |rom gm@||@com
Sat Jul 2 04:46:05 CEST 2022


    This is a difference between nlme and lme, not between the lme4 and 
nlme packages ... (I don't know why they're different.)

On 7/1/22 3:07 PM, Douglas Bates wrote:
> 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]]
> 
> _______________________________________________
> R-sig-mixed-models using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models

-- 
Dr. Benjamin Bolker
Professor, Mathematics & Statistics and Biology, McMaster University
Director, School of Computational Science and Engineering
Graduate chair, Mathematics & Statistics



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