View source: R/plotParetoGrid.R
plotParetoGrid | R Documentation |
Plot the Pareto front and set for 2 variables 2 objectives test problems with evaluations on a grid.
plotParetoGrid(fname = "ZDT1", xlim = c(0, 1), ylim = c(0, 1), n.grid = 100)
fname |
name of the function considered, |
xlim , ylim |
numeric vectors of length 2, giving the |
n.grid |
number of divisions of the grid in each dimension. |
#------------------------------------------------------------
# Examples with test functions
#------------------------------------------------------------
plotParetoGrid("ZDT3", n.grid = 21)
plotParetoGrid("P1", n.grid = 21)
plotParetoGrid("MOP2", xlim = c(0, 1), ylim = c(0, 1), n.grid = 21)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.