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.

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.