null_aggregator {shinyHugePlot} | R Documentation |
NULL aggregator.
Description
It does not aggregate the data but returns the full samples within the range.
Format
An R6::R6Class
object
Super class
shinyHugePlot::aggregator
-> null_aggregator
Methods
Public methods
Inherited methods
Method new()
Constructor of the Aggregator.
Usage
null_aggregator$new( ..., interleave_gaps, coef_gap, NA_position, accepted_datatype )
Arguments
interleave_gaps, coef_gap, NA_position, accepted_datatype, ...
Arguments pass to the constructor of
aggregator
object.
Method aggregate()
A function that does nothing other than inserting NAs.
Usage
null_aggregator$aggregate(...)
Arguments
...
Arguments passed to
super$aggregate
.
Method clone()
The objects of this class are cloneable with this method.
Usage
null_aggregator$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
Examples
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"
)
[Package shinyHugePlot version 0.2.6 Index]