Learn R Programming

ParamHelpers (version 1.14.2)

renderYTraces: Plots Y traces of multiple optimization paths

Description

Can be used for only single-objective optimization paths. Useful to compare runs of different algorithms on the same optimization problem. You can add your own ggplot layers to the resulting plot object.

Usage

renderYTraces(opt.paths, over.time = "dob")

Value

ggplot2 plot object

Arguments

opt.paths

[OptPath() | list of OptPath()]
Object(s) to plot.

over.time

character
Should the traces be plotted versus the iteration number or the cumulated execution time? For the later, the opt.path has to contain a extra column names exec.time. Possible values are dob and exec.time, default is dob.