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

Cole, Tim t|m@co|e @end|ng |rom uc|@@c@uk
Fri Jul 1 11:03:45 CEST 2022


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]]



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