标签: r bigdata
如何在大型矩阵上计算Cronbach的alpha(例如psych::alpha())而不会遇到内存问题?
psych::alpha()
> X <- replicate(200000, rnorm(100)) # 100 x 200000 matrix > psych::alpha(X) Error: cannot allocate vector of size 298.0 Gb