search for: get_modelmatrix

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

2024 Sep 20
1
model.matrix() may be misleading for "lme" models
...other attached packages: [1] nlme_3.1-165 loaded via a namespace (and not attached): [1] compiler_4.4.1 tools_4.4.1 grid_4.4.1 lattice_0.22-6 --------- snip --------- Although this apparently solves the problem for car::Anova(), the problem is likely more general. For example, insight::get_modelmatrix() also reports the wrong model matrix for the "lme" model m above. My suggestion: Include a correct model.matrix.lme() method in the nlme package. That could be my version, but I expect that R-core could come up with something better. Thank you, John -- John Fox, Professor Emeritu...
2024 Sep 21
1
model.matrix() may be misleading for "lme" models
...-165 > > loaded via a namespace (and not attached): > [1] compiler_4.4.1 tools_4.4.1??? grid_4.4.1???? lattice_0.22-6 > > --------- snip --------- > > Although this apparently solves the problem for car::Anova(), the > problem is likely more general. For example, insight::get_modelmatrix() > also reports the wrong model matrix for the "lme" model m above. > > My suggestion: Include a correct model.matrix.lme() method in the nlme > package. That could be my version, but I expect that R-core could come > up with something better. > > Thank you, >...