Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

simm.bb

Brownian bridge motion


Description

This function simulates a brownian bridge motion

Usage

simm.bb(date = 1:100, begin = c(0, 0), end = begin, id = "A1",
        burst = id, proj4string=CRS())

Arguments

date

a vector indicating the date (in seconds) at which relocations should be simulated. This vector can be of class POSIXct

begin

a vector of length 2 giving the x and y coordinates of the location beginning of the trajectory

end

a vector of length 2 giving the x and y coordinates of the location ending the trajectory

id

a character string indicating the identity of the simulated animal (see help(ltraj))

burst

a character string indicating the identity of the simulated animal (see help(ltraj))

proj4string

a valid CRS object containing the projection information (see ?CRS from the package sp).

Value

An object of class ltraj.

Author(s)

See Also

Examples

plot(simm.bb(1:1000, end=c(100,100)), addpoints = FALSE)

adehabitatLT

Analysis of Animal Movements

v0.3.25
GPL (>= 2)
Authors
Clement Calenge, contributions from Stephane Dray and Manuela Royer
Initial release
2020-01-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.