Я хотел бы выполнить линейную регрессию с большими матрицами.
Это то, что я пробовал до сих пор:
library(bigmemory)
library(biganalytics)
library(bigalgebra)
nrows <- 1000000
X <- as.big.matrix( replicate(100, rnorm(nrows)) )
y <- rnorm(nrows)
biglm.big.matrix(y ~ X)
# Error in CreateNextDataFrameGenerator(formula, data, chunksize, fc, getNextChunkFunc, :
argument "data" is missing, with no default
biglm.big.matrix(y ~ X, data = cbind(y, X))
# Error in bigmemory:::mmap(vars, colnames(data)) :
Couldn't find a match to one of the arguments.
biglm.big.matrix(y ~ X, data = cbind(y = y, X = X))
# Error in bigmemory:::mmap(vars, colnames(data)) :
Couldn't find a match to one of the arguments.
Как я могу решить эту проблему?