constraint_to_row {bain}R Documentation

Constraint to row

Description

Evaluate a BAIN constraint, which has been formatted as an equation, with all terms moved to the left hand side, and return a single row of a BAIN (in)equality constraint matrix.

Usage

constraint_to_row(varnames, hyp)

Arguments

hyp

Character. A BAIN (in)equality constraint formatted as equation, with all terms on the left hand side.

Value

Numeric vector.


[Package bain version 0.2.1 Index]