View source: R/create_matrices.R

constraint_to_row | R Documentation |

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)
```

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

Numeric vector.

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

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.