View source: R/visualizeParetoOptimalFront.R
visualizeParetoOptimalFront | R Documentation |
Quickly visualize the Pareto-optimal front of a bi-criteria objective
function by calling the EMOA nsga2
and extracting the
approximated Pareto-optimal front.
visualizeParetoOptimalFront(fn, ...)
fn |
[ |
... |
[any] |
[ggplot
]
# Here we visualize the Pareto-optimal front of the bi-objective ZDT3 function
fn = makeZDT3Function(dimensions = 3L)
vis = visualizeParetoOptimalFront(fn)
# Alternatively we can pass some more algorithm parameters to the NSGA2 algorithm
vis = visualizeParetoOptimalFront(fn, popsize = 1000L)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.