simWalk | R Documentation |
Simulate a Random Walk
simWalk(n = 100, z0 = 0, drift = 0, sderror = 1)
n |
Length of the series to simulate |
z0 |
Starting point for the series |
drift |
Value for a drift parameter (default is zero) |
sderror |
Standard deviation of the error term |
A time series simulated from the model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.