Usage
plot_boxtraj(object,
main = NULL,
xlab = "Box Mass",
ylab = "Covariate Range",
toplot = object$used,
col.cov,
lty.cov,
lwd.cov,
col = 1,
lty = 1,
lwd = 1,
cex = 1,
add.legend = FALSE,
text.legend = NULL,
nr = NULL,
nc = NULL,
device = NULL,
file = "Covariate Trajectory Plots",
path=getwd(),
horizontal = FALSE,
width = 8.5,
height = 11.5, ...)
Arguments
object
Object of class PRSP
as generated by the main function sbh
. main
Character
vector
. Main Title. Defaults to NULL
.
xlab
Character
vector
. X axis label. Defaults to "Box Mass".
ylab
Character
vector
. Y axis label. Defaults to "Covariate Range".
toplot
Numeric
vector
. Which of the pre-selected covariates to plot (in reference to the original index of covariates).
Defaults to covariates used for peeling.
col.cov
Integer
vector
. Line color for the covariate trajectory curve of each selected covariate.
Defaults to vector of colors of length the number of selected covariates.
The vector is reused cyclically if it is shorter than t
lty.cov
Integer
vector
. Line type for the covariate trajectory curve of each selected covariate.
Defaults to vector of 1's of length the number of selected covariates.
The vector is reused cyclically if it is shorter than the n
lwd.cov
Integer
vector
. Line width for the covariate trajectory curve of each selected covariate.
Defaults to vector of 1's of length the number of selected covariates.
The vector is reused cyclically if it is shorter than the
col
Integer
scalar. Line color for the trajectory curve of each statistical quantity of interest.
Defaults to 1.
lty
Integer
scalar. Line type for the trajectory curve of each statistical quantity of interest.
Defaults to 1.
lwd
Integer
scalar. Line width for the trajectory curve of each statistical quantity of interest.
Defaults to 1.
cex
Integer
scalar. Symbol expansion used for titles, legends, and axis labels. Defaults to 1.
add.legend
Logical
scalar. Should the legend be added to the current open graphics device? Defaults to FALSE
.
text.legend
Character
vector
of legend content. Defaults to NULL
.
nr
Integer
scalar of the number of rows in the plot. If NULL
, defaults to 3.
nc
Integer
scalar of the number of columns in the plot. If NULL
, defaults to 3.
device
Graphic display device in {NULL, "PS", "PDF"}. Defaults to NULL (standard output screen).
Currently implemented graphic display devices are "PS" (Postscript) or "PDF" (Portable Document Format).
file
File name for output graphic. Defaults to "Covariate Trajectory Plots".
path
Absolute path (without final (back)slash separator). Defaults to working directory path.
horizontal
Logical
scalar. Orientation of the printed image. Defaults to FALSE
, that is potrait orientation.
width
Numeric
scalar. Width of the graphics region in inches. Defaults to 8.5.
height
Numeric
scalar. Height of the graphics region in inches. Defaults to 8.5.
...
Generic arguments passed to other plotting functions.