Description Usage Arguments Value See Also
Create dummy (0-1) variables that repeat a requested pattern of 0's and 1's, with the option to scale.
1 | SimulateDummy(n, pos.idx = NULL, period = n, amplitude = 1)
|
n |
integer number of time points |
pos.idx |
vector of indices where simulated vector should take positive values (as opposed to zero) |
period |
integer controlling periodicity. |
amplitude |
numeric value > 0 specifying the value of all postive entries in the return vector. |
specified vector
Other Simulate.time.series: SimulateAR1
,
SimulateCorrelated
,
SimulateSinusoidal
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.