Description Usage Arguments Value See Also
View source: R/perturbations.R
Stretches out signal data with respect to time. Signal values are interlaced such that 0 or more NA
s are inserted after each signal value and additional time points are generated accordingly.
1 | sim.stretch(baseline, n = 1, prob = NULL)
|
baseline |
baseline, as generated by function |
n |
number of time points which should be inserted after each original time point. This can either be a single integer, or a vector of integers from which values are drawn randomly. |
prob |
vector of probabilities. If |
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.