chart.GroupWeights: Chart weights by group or category

Description Usage Arguments Author(s)

Description

Chart weights by group or category

Usage

1
2
3
chart.GroupWeights(object, ..., grouping = c("groups", "category"),
  plot.type = "line", main = "Group Weights", las = 3, xlab = NULL,
  cex.lab = 0.8, element.color = "darkgray", cex.axis = 0.8)

Arguments

object

object of class optimize.portfolio.

...

passthrough parameters to plot.

grouping
  • groups: group the weights by group constraints.

  • category_labels: group the weights by category_labels in the portfolio object.

plot.type

"line" or "barplot".

main

an overall title for the plot: see title.

las

numeric in {0,1,2,3}; the style of axis labels

0:

always parallel to the axis,

1:

always horizontal,

2:

always perpendicular to the axis,

3:

always vertical[default].

xlab

a title for the x axis: see title.

cex.lab

the magnification to be used for x and y labels relative to the current setting of cex.

element.color

color for the default border and axis.

cex.axis

the magnification to be used for x and y axis relative to the current setting of cex.

Author(s)

Ross Bennett


PortfolioAnalytics documentation built on May 1, 2019, 10:56 p.m.