Projection plots for optimization routines.

# S3 method for class 'optproj'
plot(x, xnames, xind, equalize = FALSE, layout, xlab, ylab, ...)

Arguments

x

An optproj object, i.e., output from function optim_proj().

xnames

Optional vector of names for the plot titles.

xind

Integer or logical vector of indices indicating which projections should be plotted. Defaults to all projection plots.

equalize

If TRUE, narrows the range in each projection plot such that the y-value is more or less the same at either endpoint.

layout

Optional vector giving the number of rows and columns in the plot layout. For nx plots, defaults to c(nr, nc), where nr = floor(nx) and nc = ceiling(nx/nr).

xlab, ylab

Outer x-axis and y-axis labels.

...

Further arguments to be passed to or from other methods.

Value

A grid of projection plots, with vertical lines at the potential solution.