View source: R/OptPath_getter.R
getOptPathParetoFront | R Documentation |
Get indices of pareto front of optimization path.
getOptPathParetoFront( op, y.names = op$y.names, dob = op$env$dob, eol = op$env$eol, index = FALSE )
op |
OptPath |
y.names |
character |
dob |
integer |
eol |
integer |
index |
( |
matrix
| integer
. Either matrix (with named columns) of points of
front in objective space or indices into path for front.
Other optpath:
OptPath
,
addOptPathEl()
,
getOptPathBestIndex()
,
getOptPathCols()
,
getOptPathCol()
,
getOptPathDOB()
,
getOptPathEOL()
,
getOptPathEl()
,
getOptPathErrorMessages()
,
getOptPathExecTimes()
,
getOptPathLength()
,
getOptPathX()
,
getOptPathY()
,
setOptPathElDOB()
,
setOptPathElEOL()
ps = makeParamSet(makeNumericParam("x")) op = makeOptPathDF(par.set = ps, y.names = c("y1", "y2"), minimize = c(TRUE, TRUE)) addOptPathEl(op, x = list(x = 1), y = c(5, 3)) addOptPathEl(op, x = list(x = 2), y = c(2, 4)) addOptPathEl(op, x = list(x = 3), y = c(9, 4)) addOptPathEl(op, x = list(x = 4), y = c(4, 9)) as.data.frame(op) getOptPathParetoFront(op) getOptPathParetoFront(op, index = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.