Skip to content
Prev 14183 / 20628 Next

Low rank fixed effect design matrix LMER package

The place to start looking is line 222 of 
https://github.com/lme4/lme4/blob/master/R/modular.R . We call the 
Matrix::rankMatrix() and stats::qr() functions with a default tolerance 
of 1e-7.  The comment in the code at that point specifies

## Perform the qr-decomposition of X using LINPACK method,
## as we need the "good" pivots (and the same as lm()):
## FIXME: strongly prefer rankMatrix(X, method= "qr.R")

   Hope that helps.

   Ben Bolker
On 16-02-10 08:39 PM, suraj keshri wrote: