Learn R Programming

bigstatsr (version 1.6.1)

FBM-methods: Methods for the FBM class

Description

Methods for the FBM class

Accessor methods for class FBM. You can use positive and negative indices, logical indices (that are recycled) and also a matrix of indices (but only positive ones).

Dimension and type methods for class FBM.

Usage

# S4 method for FBM,ANY,ANY,ANY
[(x, i, j, ..., drop = TRUE)

# S4 method for FBM,ANY,ANY,ANY [(x, i, j, ...) <- value

# S4 method for FBM dim(x)

# S4 method for FBM length(x)

# S4 method for FBM typeof(x)

# S4 method for FBM diag(x)

Arguments

x

A FBM object.

i

A vector of indices (or nothing). You can use positive and negative indices, logical indices (that are recycled) and also a matrix of indices (but only positive ones).

j

A vector of indices (or nothing). You can use positive and negative indices, logical indices (that are recycled).

...

Not used. Just to make nargs work.

drop

Whether to delete the dimensions of a matrix which have one dimension equals to 1.

value

The values to replace. Should be of length 1 or of the same length of the subset to replace.