Learn R Programming

ordinalTables (version 1.0.0.3)

is_invertible: Tests whether a square matrix is invertible (non singular)

Description

from stackoverflow: https://stackoverflow.com/questions/24961983/how-to-check-if-a-matrix-has-an-inverse-in-the-r-language

Usage

is_invertible(X)

Value

logical: TRUE if inversion succeeds, FALSE otherwise

Arguments

X

Matrix to be tested. It is assumed X is square