rw(timeslab) | R Documentation |
Simulate Data from a Random Walk Process
rw(n,seed=0)
n |
Integer containing the length of the desired realization. |
seed |
Real scalar containing the seed for the random number generator. |
rw |
returns an array of length {n } containing
a realization of a Gaussian random walk. |