Description Usage Arguments Value See Also
View source: R/perturbations.R
Distort a baseline signal by stretching or contracting the signal values (independently of time), effectively changing their variance, by factors generated by a probability density function.
1 2 | sim.smooth_flex(baseline, range, range_by_time = TRUE, strength,
spikiness, D = c("gauss"))
|
baseline |
baseline, as generated by function |
range |
indices of affected values. Either a start and end index or the whole range. If length of |
range_by_time |
Boolean, indicates whether values in |
strength |
maximum factor by which to stretch the selected values. |
spikiness |
measure of how needle-shaped (vs. bell-shaped) the perturbation should be: values between 0 and 1. |
D |
distribution from which to sample. Can be |
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.