Learn R Programming

semPlot (version 1.1.6)

Imin: Helper function to substract matrix from identity matrix and take inverse.

Description

This function can be used to more easilly compute I - X or (I - X)^(-1), which are common in SEM models.

Usage

Imin(x, inverse = FALSE)

Arguments

x

A matrix

inverse

Logical, should the inverse be taken?

Author

Sacha Epskamp <mail@sachaepskamp.com>