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

Description Usage Arguments Details Value See Also

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

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

Arguments

A

matrix to be transformed into an editmatrix.

b

Constant, a numeric of length(nrow(x)), defaults to 0

ops

Operators, character of length(nrow(x)) with the equality operators, defaults to "=="

...

further attributes that will be attached to the resulting 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.

Value

an object of class editmatrix.

See Also

editmatrix



Search within the editrules package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.