assertFullRank: Assert whether a matrix is of full rank numerically

View source: R/assertFullRank.R

assertFullRankR Documentation

Assert whether a matrix is of full rank numerically

Description

Assert whether a matrix is of full rank numerically

Usage

assertFullRank(matrix)

Arguments

matrix

Numeric matrix

Value

If not full rank, the function stops. Otherwise, an invisible TRUE is returned

Examples

myMat <- matrix(c(1,1,1,0,1,1), ncol=2, byrow=FALSE)
assertFullRank(myMat)

bedapub/ribiosExpression documentation built on Sept. 2, 2023, 4:37 a.m.