plot.optproj: Projection plots for optimization routines.

Description Usage Arguments Value

View source: R/plot.optproj.R

Description

Projection plots for optimization routines.

Usage

1
2
3
## 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 element names of potential solution for 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.


optimCheck documentation built on Oct. 9, 2019, 9:05 a.m.