search for: l814

Displaying 2 results from an estimated 2 matches for "l814".

Did you mean: 6814
2024 Sep 23
1
model.matrix() may be misleading for "lme" models
> I can't tell whether evaluating object$call$data in environment(object$formula) is a better or worse idea than parent.frame(). I have struggled with this a lot over the years. There is a bunch of wonky code in lme4, e.g. here <https://github.com/lme4/lme4/blob/master/R/lmer.R#L814-L838>, that tries to look for data in different possible locations, but I don't think anything works perfectly/robustly. https://stackoverflow.com/questions/14945274/determine-whether-evaluation-of-an-argument-will-fail-due-to-non-existence On Mon, Sep 23, 2024 at 3:54?PM Ivan Krylov via R...
2024 Sep 23
1
model.matrix() may be misleading for "lme" models
? Sun, 22 Sep 2024 10:23:50 -0400 John Fox <jfox at mcmaster.ca> ?????: > > Evaluating object$call$data in the environment of the suggested > > nlme:::model.matrix.lme function may also not work right. Without an > > explicit copy of the data, the best environment to evaluate it in > > would be parent.frame(). > > I'm afraid that I don't understand