initBigMatrix: Create a new BigMatrix-derived class

Description Usage Arguments Value

Description

Create a new BigMatrix-derived class

Usage

1
2
3
  .initBigMatrix(x = NULL,
    class = c("BigMatrix", "BigMatrixFactor"), backingfile,
    nrow, ncol, dimnames = NULL, type = "double", ...)

Arguments

x

NULL, matrix, or big.matrix. Optional data or big.matrix for new BigMatrix

class

character, class name. BigMatrix or BigMatrixFactor currently.

backingfile

character, full path to the file that will contain the data matrix

nrow

integer, number of rows in the matrix we are about to create

ncol

integer, number of columns in the matrix we are about to create

dimnames

list, list(rownames,colnames), as for a typical matrix

type

character, can be double, integer, or char

...

other args to pass to "new" method of generator object, like levels

Value

BigMatrix


bigmemoryExtras documentation built on Nov. 8, 2020, 5:17 p.m.