Learn R Programming

PerformanceAnalytics (version 0.9.4)

PerformanceAnalytics-internal: internal functions for setting useful defaults for graphs

Description

Internal functions and data objects to make graphs easier to read, and better for print and presentation.

Also contains common economic cycle dates and dates of serious market events per asset class.

Usage

legend(x, y = NULL, legend, fill = NULL, col = par("col"), lty, lwd, pch, angle = 45, density = NULL, bty = "o", bg = par("bg"), pt.bg = NA, cex = 1, pt.cex = cex, pt.lwd = lwd, xjust = 0, yjust = 1, x.intersp = 1, y.intersp = 1, adj = c(0, 0.5), text.width = NULL, text.col = par("col"), merge = do.lines && has.pch, trace = FALSE, plot = TRUE, ncol = 1, horiz = FALSE, title = NULL, inset = 0, border.col = NULL, border.lwd = 1, border.lty = "solid")

Arguments

x
~~Describe x here~~
y
~~Describe y here~~
legend
~~Describe legend here~~
fill
~~Describe fill here~~
col
~~Describe col here~~
lty
~~Describe lty here~~
lwd
~~Describe lwd here~~
pch
~~Describe pch here~~
angle
~~Describe angle here~~
density
~~Describe density here~~
bty
~~Describe bty here~~
bg
~~Describe bg here~~
pt.bg
~~Describe pt.bg here~~
cex
~~Describe cex here~~
pt.cex
~~Describe pt.cex here~~
pt.lwd
~~Describe pt.lwd here~~
xjust
~~Describe xjust here~~
yjust
~~Describe yjust here~~
x.intersp
~~Describe x.intersp here~~
y.intersp
~~Describe y.intersp here~~
adj
~~Describe adj here~~
text.width
~~Describe text.width here~~
text.col
~~Describe text.col here~~
merge
~~Describe merge here~~
trace
~~Describe trace here~~
plot
~~Describe plot here~~
ncol
~~Describe ncol here~~
horiz
~~Describe horiz here~~
title
~~Describe title here~~
inset
~~Describe inset here~~
border.col
~~Describe border.col here~~
border.lwd
~~Describe border.lwd here~~
border.lty
~~Describe border.lty here~~

Details

All items ending in .labels or .dates contain labels or dates that would be appropriate for specific asset classes or economic cycles.

legend is a wrapper function for legend to better handle placement and formatting of a legend for the charts

all objects ending in symbol are symbol sets for line charts.

See Also

legend