pf_setup_movement_pr: A simple movement model dependent on distance

View source: R/pf_setup.R

pf_setup_movement_prR Documentation

A simple movement model dependent on distance

Description

This function provides a simple movement model that calculates the probability of movement between two locations according to the distance between them, using an logistic equation with pre-defined parameters.

Usage

pf_setup_movement_pr(distance, ...)

Arguments

distance

A numeric vector of distances (m).

...

Additional arguments (none implemented).

Details

Under this model, for distance(s) \leq 500 m, Pr(distance) = logistic(10 + distance -0.05); otherwise, Pr(distance) = 0. This particular model is designed for flapper skate (Dipturus intermedius) and represents a reasonable model for the probability of moving a given distance in a two-minute period (in the absence of additional information).

Value

The function returns a numeric vector of probabilities that represent the probability of movement between two or more areas given the distances between them.

Author(s)

Edward Lavender

See Also

This function is used as the default movement model in pf.

Examples

pr <- pf_setup_movement_pr(1:1000)
plot(pr, type = "l", xlab = "Distance (m)", ylab = "Pr(distance)")

edwardlavender/flapper documentation built on Jan. 22, 2025, 2:44 p.m.