50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

editrules (version 2.2-0)

as.editmatrix: Coerce a matrix to an edit matrix.

Description

as.editmatrix interpretes the matrix as an editmatrix. The columns of the matrix are the variables and the rows are the edit rules (contraints).

Usage

as.editmatrix(A, b = numeric(nrow(A)),
    ops = rep("==", nrow(A)), ...)

Arguments

Value

an object of class editmatrix.

Details

If only argument x is given (the default), the resulting editmatrix is of the form $Ax=0$. This can be influenced by using the parameters b and ops.

See Also

editmatrix