barplotGroupWeights: barplot of group weights by group or category

Description Usage Arguments Author(s)

Description

This function is called by chart.GroupWeights function if chart.type="barplot"

Usage

1
2
3
4
5
  barplotGroupWeights(object, ...,
    grouping = c("groups", "category"),
    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 portfolio object

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 [default],

1:

always horizontal,

2:

always perpendicular to the axis,

3:

always vertical.

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


R-Finance/PortfolioAnalytics documentation built on May 8, 2019, 4:46 a.m.