Learn R Programming

FRAPO (version 0.3-7)

plot-methods: Methods for Function plot in Package graphics

Description

Additional arguments to the plot-method pertinent to the defined S4-classes in this package are detailed below.

Usage

## S3 method for class 'PortDD':
plot(x, main = NULL, xlab = NULL, ylab = NULL,
col = c("black", "red"), grid = TRUE, invert = TRUE, ...)

Arguments

x
PortDD: an object that belongs to this virtual class.
main
character: The title of the plot.
xlab
character: The description of the x-axis.
ylab
character: The description of the y-axis.
col
character: Two-element vector of the names of the colors for the portfolio's draw downs and the optimal level.
grid
Logical: Whether to superimpose a grid on the plot.
invert
Logical: Whether the draw downs shall be plotted as negative numbers; the default is TRUE.
...
Ellipsis argument is passed to the generic plot function.