constraint_to_equation: Constraint to equation

View source: R/create_matrices.R

constraint_to_equationR Documentation

Constraint to equation

Description

Formats a constraint as an equation that can be evaluated. Adds scalars to all parameters in the constraint, and adds a XXXconstant parameter to any constants. Also adds "*" and "+" operators where necessary for evaluation.

Usage

constraint_to_equation(hyp)

Arguments

hyp

Character. An (in)equality constraint

Value

Character


bain documentation built on Sept. 27, 2023, 5:06 p.m.