
Last chance! 50% off unlimited learning
Sale ends in
weightsLinePlot(object, labels = TRUE, col = NULL, title = TRUE,
box = TRUE, legend = TRUE, ...)
weightedReturnsLinePlot(object, labels = TRUE, col = NULL, title = TRUE,
box = TRUE, legend = TRUE, ...)
covRiskBudgetsLinePlot(object, labels = TRUE, col = NULL, title = TRUE,
box = TRUE, legend = TRUE, ...)
fPORTFOLIO
, as returned by one of
the portfolio functions, e.g. efficientPortfolio
or
portfolioFrontier
.labels=TRUE
. If
set to FALSE
then the graph will be displayed
undecorated and the user can it decoraseqPalette
palette.TRUE
.labels=TRUE
. If
set to FALSE
then the graph will be displayed
undecorated and the user can it decorbarplot
. Only
active if labels=FALSE
.weightsPlot
displays the weights composition
along the frontier of a portfolio.
The function weightedReturnsPlot
displays the investment
composition, i.e. the weighted returns along the frontier of a portfolio.
The function covRiskBudgetsPlot
displays the covariance risk
budgets composition along the frontier of a portfolio.weightsPie
,
weightsSlider
.## data -
# Load Data:
Data = as.timeSeries(data(smallcap.ts))
Data = Data[, c("BKE", "GG", "GYMB", "KRON")]
## portfolioFrontier -
# Compute Long Only Efficient Frontier
frontier = portfolioFrontier(Data)
## weightsLinePlot -
# View Weights Line Plot:
# weightsLinePlot(frontier)
Run the code above in your browser using DataLab