eLTTB_aggregator | R Documentation |
Efficient version off LTTB
by first reducing really large data with the min_max_ovlp_aggregator
and then further aggregating the reduced result with LTTB_aggregator
.
An R6::R6Class
object
shinyHugePlot::aggregator
-> eLTTB_aggregator
LTTB
An R6 LTTB_aggregator instance
minmax
An R6 min_max_ovlp_aggregator
instance
new()
Constructor of the aggregator.
eLTTB_aggregator$new(..., interleave_gaps, coef_gap, NA_position)
...
Arguments pass to the constructor of aggregator
,
LTTB_aggregator
and min_max_oblp_aggregator
objects.
interleave_gaps, coef_gap, NA_position
Arguments pass to the constructor of aggregator
object.
clone()
The objects of this class are cloneable with this method.
eLTTB_aggregator$clone(deep = FALSE)
deep
Whether to make a deep clone.
data(noise_fluct)
agg <- eLTTB_aggregator$new(interleave_gaps = TRUE)
d_agg <- agg$aggregate(noise_fluct$time, noise_fluct$f500, 1000)
plotly::plot_ly(x = d_agg$x, y = d_agg$y, type = "scatter", mode = "lines")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.