| plotNDSet2D | R Documentation | 
Create a plot of a discrete non-dominated set.
plotNDSet2D(
  points,
  crit,
  addTriangles = FALSE,
  addHull = TRUE,
  latex = FALSE,
  labels = NULL
)
| points | Data frame with non-dominated points. | 
| crit | Either max or min (only used if add the iso-profit line). A vector is currently not supported. | 
| addTriangles | Add search triangles defined by the non-dominated extreme points. | 
| addHull | Add the convex hull and the rays. | 
| latex | If true make latex math labels for TikZ. | 
| labels | If  | 
The ggplot object.
Currently only points are checked for dominance. That is, for MILP models some nondominated points may in fact be dominated by a segment.
Lars Relund lars@relund.dk
dat <- data.frame(z1=c(12,14,16,18,18,18,14,15,15), z2=c(18,16,12,4,2,6,14,14,16))
points <- addNDSet(dat, crit = "min", keepDom = TRUE)
plotNDSet2D(points, crit = "min", addTriangles = TRUE)
plotNDSet2D(points, crit = "min", addTriangles = FALSE)
plotNDSet2D(points, crit = "min", addTriangles = TRUE, addHull = FALSE)
points <- addNDSet(dat, crit = "max", keepDom = TRUE)
plotNDSet2D(points, crit = "max", addTriangles = TRUE)
plotNDSet2D(points, crit = "max", addHull = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.