Plot method for every type of optimization path, containing any numbers and types of variables. For every iteration up to 4 types of plots can be generated: One plot for the distribution of points in X and Y space respectively and plots for the trend of specified X variables, Y variables and extra measures over the time.
(OptPath
)
Optimization path.
(integer
| NULL)
Vector of iterations which should be plotted one after another. If NULL
,
which is the default, only the last iteration is plotted. Iteration 0 plots
all elements with dob = 0. Note that the plots for iteration i contains all
observations alive in iteration i.
(logical(1)
)
Should the process be paused after each iteration?
Default is TRUE
.
list
X axis limits for the plots. Must be a named list, so you can specify the
axis limits for every plot. Every element of the list must be a numeric
vector of length 2. Available names for elements are: XSpace - limits for
the X-Space plot YSpace - limits for the Y-Space plot Default is an empty
list - in this case limits are automatically set. Note: For some plots it
is not meaningful to set limits, in this case the set limits are ignored.
Note: We do not support setting lims for the over.time.plots. We think, in
nearly every case the ggplot defaults are fine, and the very rare case you
have to set them, you can you can extract the plots and add your own
limits.
list
Y axis limits for the plots. Must be a named list, so you can specify the
axis limits for every plot. Every element of the list must be a numeric
vector of length 2. Available names for elements are: XSpace - limits for
the X-Space plot YSpace - limits for the Y-Space plot Default is an empty
list - in this case limits are automatically set. Note: For some plots it
is not meaningful to set limits, in this case the set limits are ignored.
Note: We do not support setting lims for the over.time.plots. We think, in
nearly every case the ggplot defaults are fine, and the very rare case you
have to set them, you can you can extract the plots and add your own
limits.
(character(1)
)
Main title for the arranged plots, default is Optimization Path Plots.
Additional parameters for renderOptPathPlot()
.