Learn R Programming

biganalytics (version 1.1.12)

biganalytics-package: biganalytics: A library of utilities for big.matrix objects of package bigmemory. Some work with R matrices, independently of bigmemory.

Description

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 Robjects, as well, providing gains in speed and memory-efficiency.

Arguments

Details

ll{ Package: biganalytics Type: Package Version: 1.1.12 Date: 2015-10-20 License: LGPL-3 | Apache License 2.0 Copyright: (C) 2015 John W. Emerson and Michael J. Kane URL: http://www.bigmemory.org LazyLoad: yes }

The bigmemory package contains the core big.matrix support; biganalytics contains tools for exploratory data analysis as well as more advanced analytics on big.matrix objects. Sister packages synchronicity, bigtabulate, and bigalgebra provide additional functionality.

References

The Bigmemory Project: http://www.bigmemory.org/.

See Also

For example, see big.matrix, biglm, bigkmeans, binit, colmean.

Examples

Run this code
# Our examples are all trivial in size, rather than burning huge amounts
# of memory simply to demonstrate the package functionality.

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)

Run the code above in your browser using DataLab