plotLines2D | R Documentation |
Plot the lines of a linear mathematical program (Ax = b)
plotLines2D(A, b, nonneg = rep(TRUE, ncol(A)), latex = FALSE, ...)
A |
The constraint matrix. |
b |
Right hand side. |
nonneg |
A boolean vector of same length as number of variables. If entry k is TRUE then variable k must be non-negative and the line is plotted too. |
latex |
If |
... |
Further arguments passed on the the
|
A ggplot
object.
In general you will properly use plotPolytope()
instead of this function.
Lars Relund lars@relund.dk
plotPolytope()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.