View source: R/create_matrices.R

constraint_to_equation | R Documentation |

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.

```
constraint_to_equation(hyp)
```

`hyp` |
Character. An (in)equality constraint |

Character

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.