constraint_to_row function

Constraint to row

Constraint to row

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

constraint_to_row(varnames, hyp)

Arguments

  • hyp: Character. An (in)equality constraint formatted as equation, with all terms on the left hand side.

Returns

Numeric vector.

  • Maintainer: Caspar J van Lissa
  • License: GPL (>= 3)
  • Last published: 2024-06-12