我有一个巨大的矩阵,其中 nrow=144 和 ncol=156267 包含数字,我想计算所有列之间的相关性。这可以使用bigcor
此处描述的函数来完成:https ://www.r-bloggers.com/bigcor-large-correlation-matrices-in-r/ 。
完成bigcor
功能后,我运行:
bigcor(Mbig2, nblocks = 1611, verbose = TRUE)
这会导致以下错误:
if (length < 0 || length > .Machine$integer.max) stop("length must be between 1 and .Machine$integer.max") 出错:需要 TRUE/FALSE 时缺少值另外:警告消息:在ff(vmode = "single", dim = c(NCOL, NCOL)) :
我的问题是:1)这是否可行?有没有办法逃避错误?