rtsplot.stacked {rtsplot}R Documentation

Create Stacked plot

Description

Create Stacked plot

Usage

rtsplot.stacked(
  x,
  y,
  xlab = "",
  cols = rtsplot.colors(ncol(y)),
  type = c("l", "s"),
  flip.legend = FALSE,
  ...
)

Arguments

x

dates object

y

matrix with weights

xlab

X label, defaults to ”, for more info see plot

cols

colors, defaults to colors rtsplot.theme

type

plot type: lines, step stairs c('l','s')

flip.legend

flag to reverse legend order, defaults to FALSE

...

additional parameters to the plot

Value

nothing


[Package rtsplot version 0.1.5 Index]