View source: R/utils-reaborn.R
| rb_timeseries_panel | R Documentation |
Draws y against x as a reaborn line plot in color, shading any
missing-sample gaps, and applies the supplied titles/labels.
rb_timeseries_panel(
x,
y,
color = "#377EB8",
title = NULL,
xlab = "time (ms)",
ylab = "pupil size"
)
x |
Numeric x positions (e.g. time) |
y |
Numeric y values (e.g. pupil size); |
color |
Line colour |
title |
Panel title |
xlab, ylab |
Axis labels |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.