matchscale | R Documentation |
Finds scale parameter (move.a) of a movement model that corresponds to desired quantile, or expected distance moved.
matchscale(movementmodel, q = 40, expected = NULL, p = 0.5, lower = 1e-05, upper = 1e+05,
move.b = 1, truncate = Inf)
movementmodel |
character (see Movement models and openCR-vignettes.pdf) |
q |
desired quantile (distance moved) |
expected |
numeric expected distance moved |
p |
cumulative probability |
move.b |
shape parameter of movement kernel |
lower |
lower bound interval to search |
upper |
upper bound interval to search |
truncate |
numeric q value at which distribution truncated |
The default behaviour is to find the movement parameter for the given combination of q and p.
The alternative, when a value is provided for ‘expected’, is to find the movement parameter corresponding to the given expected distance.
The truncate
argument must be specified for movementmodel ‘UNIzi'. For movementmodel 'UNI’ there is no parameter and the radius of truncation is varied to achieve the requested quantile q corresponding to cumulative probability p, or the desired expected distance.
Numeric value for move.a (scale parameter or zero-inflation in the case of ‘UNIzi’) or truncation radius (‘UNI’).
Movement models, pkernel
, make.kernel
, expected.d
matchscale('BVN', 40, 0.5)
matchscale('BVT', 40, 0.5, move.b = 1)
matchscale('BVT', 40, 0.5, move.b = 5)
matchscale('BVT', move.b = 5, expected = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.