View source: R/utils-reaborn.R
| rb_na_gaps | R Documentation |
Rather than drawing one vertical rule per NA sample (which can be many
thousands of overlapping lines on a full-resolution time series), the
missing segments are collapsed into contiguous runs so they can be shaded as
a handful of rectangles.
rb_na_gaps(x, y)
x |
Numeric x positions |
y |
Numeric y values (gaps are where |
A data frame with xmin/xmax columns (one row per gap run), or
NULL when there are no gaps
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.