Skip to contents

'Create interactive StreamGraphs using R streamgraph package.'

Usage

jjstreamgraph(
  data,
  timeVar,
  valueVar,
  groupVar,
  offset = "silhouette",
  interpolate = "cardinal",
  palette = "Blues",
  width = "800px",
  height = "500px"
)

Arguments

data

The data as a data frame.

timeVar

Variable representing time points (x-axis)

valueVar

Variable containing values to be plotted (y-axis)

groupVar

Categorical variable for grouping data into streams

offset

Type of offset to use for the streamgraph

interpolate

Type of interpolation between points

palette

ColorBrewer palette to use for streams

width

Width of the plot

height

Height of the plot

Value

A results object containing:

results$StreamGrapha html

Examples

# \donttest{
# Example will be added
# }