iptBM: 'Big.Matrix' In-Place-Transpose

Description Usage Arguments Value Examples

Description

This is used to apply and in-place transpose of a "big.matrix". It modifies the original 'big.matrix' to its' corresponding tranpose. WARNING!!! This changes your big.matrix object and therefore the original structure is not accessible at the same time. You can always convert back to the original structure with this same function.

Usage

1
iptBM(x)

Arguments

x

A "big.matrix"

direction

Specify which direction of transpose

Value

Nothing, the "big.matrix" object has been modified.

Examples

1
2
3
4
5
6
# Create big.matrix
BM <- as.big.matrix(matrix(seq(12), 3, 4))
head(BM)
# Call in-place tranpose
iptBM(BM, direction="r2c")
head(BM)

cdeterman/bigmemoryExt documentation built on May 13, 2019, 2:36 p.m.