rtsplot.stacked: Create Stacked plot

rtsplot.stackedR 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


rtsplot documentation built on Sept. 24, 2023, 1:07 a.m.