R: Constraint to equation

constraint_to_equation {bain} | R 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

[Package bain version 0.2.6 Index]