View source: R/downsample_digital_timeseries_r.R
downsample_digital_timeseries_r | R Documentation |
here's a pure R version of downsampling a categorical/digital timeseries
downsample_digital_timeseries_r(x, downsamp, demote_zeros = TRUE)
x |
input digital (categorical) timeseries vector |
downsamp |
downsampling factor (integer > 1) |
demote_zeros |
If TRUE, don't allow zero to be the retained value within a downsampled chunk |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.