null_aggregator | R Documentation |
It does not aggregate the data but returns the full samples within the range.
An R6::R6Class
object
shinyHugePlot::aggregator
-> null_aggregator
new()
Constructor of the Aggregator.
null_aggregator$new(..., interleave_gaps, coef_gap, NA_position)
interleave_gaps, coef_gap, NA_position, ...
Arguments pass to the constructor of aggregator
object.
aggregate()
A function that does nothing other than inserting NAs.
null_aggregator$aggregate(...)
...
Arguments passed to super$aggregate
.
clone()
The objects of this class are cloneable with this method.
null_aggregator$clone(deep = FALSE)
deep
Whether to make a deep clone.
data(noise_fluct)
agg <- null_aggregator$new(interleave_gaps = TRUE)
d_agg <- agg$aggregate(noise_fluct$time, noise_fluct$f500)
plotly::plot_ly(
x = d_agg$x[1:100], y = d_agg$y[1:100], type = "scatter", mode = "lines"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.