Speed up lmer function in R

后端 未结 3 1834
粉色の甜心
粉色の甜心 2021-02-01 07:32

I would like to share some of my thoughts when trying to improve the model fitting time of a linear mixed effects model in R using the lme4 package. <

3条回答
  •  囚心锁ツ
    2021-02-01 08:02

    We have implemented random intercepts regression assuming compound symmetry in the R package Rfast. The command is rint.reg. It is 30+ times faster than the corresponding lme4 function. I do not know if this helps, but just in case.

    https://cran.r-project.org/web/packages/Rfast/index.html

提交回复
热议问题