biganalytics-package {biganalytics} | R Documentation |
Extend the bigmemory package with various analytics. In addition
to the more obvious summary statistics (see colmean
, etc...),
biganalytics offers biglm.big.matrix
,
bigglm.big.matrix
, bigkmeans
,
binit
, and apply
for
big.matrix
objects. Some of the functions may be used with native
R objects, as well, providing gains in speed and memory-efficiency.
Michael J. Kane and John W. Emerson.
Maintainers Michael J. Kane <bigmemoryauthors@gmail.com>
library(bigmemory) x <- big.matrix(5, 2, type="integer", init=0, dimnames=list(NULL, c("alpha", "beta"))) x x[,] x[,1] <- 1:5 x[,] mean(x) colmean(x) summary(x) apply(x, 1, mean)