ignore/chart.Weights.optimize.portfolio.rebalancing.R

#
# FILE plot_wfoweights.R
#'
#' Plot weight stacked bars for WFO optimization
#'
#' @param object  A WFO object from wfo_statfolio
#'
#' @export
plot_wfoweights <- function(object, ..., main = "Weights"){
  sprint("Using New VERSION of Chart.Weights for rebalancing")
  rebal_weights <- extractWeights(object)

  print(rebal_weights)
  chart.StackedBar(w = rebal_weights, main = main, ...)

}
jeanmarcgp/ResilientPortfolio documentation built on April 8, 2018, 5:43 p.m.