Description Usage Arguments Value Examples
View source: R/plotPolytope2D.R
plotPolytope2D polt the possible values of a multimensional convex polytope by A.x<=b and C.x=v for 2 dimensions
1 | plotPolytope2D(A, b, C = NULL, v = NULL, params = c(1, 2))
|
A |
the matrix of inequality A.x<=b |
b |
the vector A.x<=b |
C |
the matrix of equality C.x=v (default NULL for no equality) |
v |
the vector of equality C.x=v (default NULL for no equality |
params |
a vector of length 2 corresponding to the index of the parameters |
a ggplot
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.