equa2vecmat | R Documentation |

parse a text vector of linear equations and produce a corresponding matrix and right hand side vector

```
equa2vecmat(nm_par, linear, sep = "=")
```

`nm_par` |
a string vector of variable names. It will be used in the symbolic derivation. |

`linear` |
string vector of linear equations like |

`sep` |
separator of two parts of equations. Use for example ">=" for linear inequalities |

an augmented matrix. Its first column is the rhs vector. Other columns are named by nm_par. If the vector linear is NULL or its content is empty a NULL is returned

```
equa2vecmat(c("a", "b", "c"), "a+2*c+3*b = 0", "=")
```

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.