Skip to contents

Return random step lengths

Usage

randomdist(n, shape, rate)

Arguments

n

number of observations. If length(n) > 1, the length is taken to be the number required.

shape

numeric, must be positive

rate

an alternative way to specify the scale.

Value

n random step lengths

See also