rw(timeslab)R Documentation

Simulate Data from a Random Walk Process

Description

Simulate Data from a Random Walk Process

Usage

rw(n,seed=0)

Arguments

n Integer containing the length of the desired realization.
seed Real scalar containing the seed for the random number generator.

Value

rw returns an array of length {n} containing a realization of a Gaussian random walk.


[Package Contents]