Chart weights by group or category
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
)
object of class optimize.portfolio
.
passthrough parameters to plot
.
group the weights by group constraints.
group the weights by category_labels in the portfolio
object.
"line" or "barplot".
an overall title for the plot: see title
.
numeric in {0,1,2,3}; the style of axis labels
always parallel to the axis,
always horizontal,
always perpendicular to the axis,
always vertical[default].
a title for the x axis: see title
.
the magnification to be used for x and y labels relative to the current setting of cex
.
color for the default border and axis.
the magnification to be used for x and y axis relative to the current setting of cex
.
Ross Bennett