barplotWts {PCRA} | R Documentation |
A Barplot of a Set of Portfolio Weights
Description
Uses the R barplot function to make a barplot of efficient frontier weights. See the manual page for barplot()
Usage
barplotWts(
wts.efront,
legend.text = NULL,
col = NULL,
ylab = NULL,
xlab = c("MU", "VOL"),
bar.ylim = NULL,
...
)
Arguments
wts.efront |
Matrix of weights along the efficient frontier |
legend.text |
Vector of text for the legend |
col |
Vector of colors for the bars |
ylab |
A label for the y axis |
xlab |
A label for the x axis |
bar.ylim |
Limits of the y axis for barplot |
... |
additional parameters from barplot |
Value
No return value, just a barplot of efficient frontier weights
Examples
args(barplotWts)
[Package PCRA version 1.2 Index]