Learn R Programming

BBMM (version 3.0)

brownian.motion.variance: Brownian motion variance

Description

Estimates Brownian motion variance for a Brownian bridge movement model.

Usage

brownian.motion.variance(n.locs, time.lag, location.error, x, y, max.lag)

Arguments

n.locs
Number of observed locations in time and space.
time.lag
Vector of time differences (usually in minutes) between successive locations. The length(time.lag) = length(x) - 1.
location.error
The standard deviation of normally distributed location errors (single value or vector of 1 value for each observation).
x
Vector of x coordinates (meters) of locations, ordered in time.
y
Vector of y coordinates (meters) of locations, ordered in time.
max.lag
Maximum lag between successful fixes to consider.

Value

The estimate of Brownian motion variance, or diffusion coefficient related to the mobility of the object.

Details

Users will generally not call this function directly. It is sourced by brownian.bridge.

References

Horne, J. S., E. O. Garton, S. M. Krone, and J. S. Lewis. 2007. Analyzing animal movements using Brownian bridges. Ecology 88:2354-2363.

Sawyer, H., M. J. Kauffman, R. M. Nielson, and J. S. Horne. 2009. Identifying and prioritizing ungulate migration routes for landscpe-level conservation. Ecological Applications 19:2016-2025.

See Also

brownian.bridge

Examples

Run this code
data(locations)
BBMM <- brownian.bridge(x=locations$x, y=locations$y, 
            time.lag=locations$time.lag[-1], location.error=20, 
            cell.size=50)

Run the code above in your browser using DataLab