StackedTrajectories: Create stacked bars for the time series

Description Usage Arguments Value Examples

View source: R/stackedTrajectories.R

Description

Create stacked bars for the time series

Usage

1
2
3
4
5
6
7
8
9
StackedTrajectories(
  Trajectories,
  Category = "CATEGORY",
  xAxisText = 16,
  yAxisText = 16,
  axisTitle = 20,
  legendText = 20,
  plotTitle = 18
)

Arguments

Trajectories

A factor containg the values, time intervals and components for the time series

Category

The name of the category of interest as a character. The defualt s "CATEGORY"

xAxisText

Font size for the text on the horizontal axis. The defualt is 16

yAxisText

Font size for the text on the vertical axis. The defualt is 16

axisTitle

Font size for the titles on the horizontal and vertical axis. The defualt is 20

legendText

Font size for the text on the legend. The defualt is 20

plotTitle

Font size for the main title on the stacked bar graph. The defualt is 18

Value

A tsacked bar graph

Examples

1
2
3
4
5
6
7
8
## Not run: 
data is the results from the stackedBarData function

## End(Not run)
## Not run: 
StackedTrajectories((Trajectories = data,Category,legendText,plotTitle))

## End(Not run)

bilintoh/timecomptest documentation built on Dec. 19, 2021, 9:42 a.m.