Generates a random track with nsteps steps in dim dimensions.
brownianTrack(nsteps = 100, dim = 3, mean = 0, sd = 1)A data frame containing in cell track with nsteps steps in
dim dimensions is returned.
## The Hurst exponent of a 1D Brownian track should be near 0.5 hurstExponent( brownianTrack( 100, 1 ) )
desired number of steps (e.g. 10 steps generates a track with 11 positions).
desired number of dimensions.
stepwise mean drift per dimension; use 0 for an unbiased Brownian motion and other values for Brownian motion with drift.
stepwise standard deviation per dimension.
In in every step an for each dimension, a normally distributed
value with mean mean and standard deviation sd is
added to the previous cell position.