Learn R Programming

bain (version 0.2.10)

constraint_to_equation: 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)

Value

Character

Arguments

hyp

Character. An (in)equality constraint