Description Usage Arguments Value See Also
View source: R/perturbations.R
Prunes signal data. Given a baseline signal, this function separates signal values into segments of size N
, with respect to time. Then, from each segment, i
values (1..N) are removed at random
(unless j
is not NULL
, in which case always remove the j
-th values in the given segment and disregard i
). Crucially, the removed values are only set to NA
, time scale stays in tact.
1 |
baseline |
baseline, as generated by function |
i |
see description above. Defaults to 1. |
j |
see description above. Defaults to |
N |
see description above. Defaults to |
reindex |
Boolean, indicates whether |
Modified baseline
input.
See functions beginning with sim.sample.
for examples of usage.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.