View source: R/jjstreamgraph.h.R
jjstreamgraph | R Documentation |
'Create interactive StreamGraphs using R streamgraph package.'
jjstreamgraph(
data,
timeVar,
valueVar,
groupVar,
offset = "silhouette",
interpolate = "cardinal",
palette = "Blues",
width = "800px",
height = "500px"
)
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 |
A results object containing:
results$StreamGraph | a html | ||||
# Example will be added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.