emptyMatrix: The empty matrix

emptyMatrixR Documentation

The empty matrix

Description

The empty matrix is a standard matrix of dimensions 0 x 0. It is intended to be used as a placeholder where a matrix is required but no information is stored.

Usage

emptyMatrix()

is.emptyMatrix(object)

Arguments

object

Any object.

Value

emptyMatrix returns the empty matrix, equivalent to matrix(NA,0,0). is.emptyMatrix returns TRUE if its argument is identical to the empty matrix.

Author(s)

Jon Clayden

References

Please cite the following reference when using TractoR in your work:

J.D. Clayden, S. Muñoz Maniega, A.J. Storkey, M.D. King, M.E. Bastin & C.A. Clark (2011). TractoR: Magnetic resonance imaging and tractography with R. Journal of Statistical Software 44(8):1-18. https://www.jstatsoft.org/v44/i08/.


tractor.base documentation built on Aug. 24, 2022, 5:06 p.m.