plot.ssndesign: Plot trace of the Greedy Exchange Algorithm

Description Usage Arguments Details

View source: R/plot-method.R

Description

A generic plot function adapted for 'ssndesign' objects. It plots the traces from the optimisation algorithm.

Usage

1
2
3
4
## S3 method for class 'ssndesign'
plot(x, y,
  which.iteration = 1:length(x$trace.per.random.start), legend = TRUE,
  ...)

Arguments

x

An object of class ssndesign

y

Not used

which.iteration

A numeric indicating the trace that should be plotted. This can be a vector, in which case all traces corresponding to those indices will be plotted. All traces are plotted by default.

legend

Whether the legend should be drawn on the plot. Defaults to FALSE. Not advised if there are many traces because the legend will be too large to properly fit on the plot.

...

Additional arguments to the plot function.

Details

The plot method produces line plots tracing the expected utility of the best design in the algorithm for each set of coordinate exchanges.


apear9/SSNdesign documentation built on Feb. 19, 2020, 4:29 a.m.