Plot time series with specific plotting parameters
tsPlotMP(
ret,
add.grid = FALSE,
layout = NULL,
type = "l",
yname = "RETURNS (%)",
Pct = FALSE,
scaleType = "free",
stripLeft = TRUE,
main = NULL,
lwd = 1,
stripText.cex = 1,
axis.cex = 1,
color = "black",
zeroLine = TRUE,
panel = NULL
)No return value, called for plotting
an time series exposure/return object
logical variable.If 'TRUE', type = c('l', 'g'); If 'FALSE', type = c('l')
layout is a numeric vector of length 2 or 3 giving the number of columns, rows, and pages (optional) in a multipanel display.
character. type of the plot; 'l' denotes a line, 'p' denotes a point, and 'b' and 'o' both denote both together.deafault is 'l'.
character or expression giving label(s) for the y-axis
Pct controls if use the percentage value.
scaleType controls if use a same scale of y-axis, choose from c('same', 'free')
logical variable to choose the position of strip, 'TRUE' for drawing strips on the left of each panel, 'FALSE' for drawing strips on the top of each panel
Typically a character string or expression describing the main title.
The line width, a positive number, defaulting to 1
a number indicating the amount by which strip text in the plot(s) should be scaled relative to the default. 1=default, 1.5 is 50% larger, 0.5 is 50% smaller, etc.
a number indicating the amount by which axis in the plot(s) should be scaled relative to the default. 1=default, 1.5 is 50% larger, 0.5 is 50% smaller, etc.
A specification for the default plotting color. Default is black.
logical varible to choose add a dotted horizontal line at the zero vertical distance
function to add customized lines to the lattice plot. See examples.
Douglas Martin, Lingjie Yi