Function to generate a given number of random steps for each observed step.
random_steps(x, ...)# S3 method for steps_xy
random_steps(x, n_control = 10, sl_distr = "gamma",
ta_distr = "vonmises", random.error = 0.001, ...)
Steps.
Further arguments, none implemented.
[integer(1)=10]{>1}
The number of control steps paired with each observed step.
[character(1)='gamma']{'gamma'}
The distribution to be fitted to the empirical distribution of step lengths.
[character(1)='vonmises']{'vonmises', 'unif'}
The distribution to be fitted to the empirical distribution of turn angles.
[numeric(1)=0.001]{>0}
Upper limit for a uniformly distributed random error
(between 0 and random.error
) to be added to step lengths, to avoid step
lengths of length 0.