Description Usage Arguments Value
View source: R/simulate.helpers.R
Generates a cyclical effect based on a cosine function.
1 2 3 4 5 6 | generate.cyclical.effect(
time.vector,
diff.amplitude = 1,
max.diff.time = 0,
period = 50
)
|
time.vector |
A numeric vector of time values |
diff.amplitude |
The numeric amplitude of the difference (Default: 1) |
max.diff.time |
The period of the cycle (Default: 50) |
A numeric vector containing the effect at each provided time point.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.