powered by
Uses the R barplot function to make a barplot of efficient frontier weights. See the manual page for barplot()
barplotWts( wts.efront, legend.text = NULL, col = NULL, ylab = NULL, xlab = c("MU", "VOL"), bar.ylim = NULL, ... )
No return value, just a barplot of efficient frontier weights
Matrix of weights along the efficient frontier
Vector of text for the legend
Vector of colors for the bars
A label for the y axis
A label for the x axis
Limits of the y axis for barplot
additional parameters from barplot
args(barplotWts)
Run the code above in your browser using DataLab