Learn R Programming

crawl (version 2.2.0)

cond_sim: Simulate possible path points conditioned on fit

Description

Simulates a set of possible points for a given time conditioned on fit

Usage

cond_sim(n = 500, t0, alpha0, t2, alpha2, t1, par, active = 1,
  inf_fac = 1, bm = 0)

Arguments

n

integer specifying the number of points to return

t0

time value for the first location in the segment

alpha0

coordinate and velocity values for t0

t2

time value for the last location in the segment

alpha2

coordinate and velocity values for t2

t1

time value for the current location to be simulated

par

par values from the crwFit object

active

numeric 1 or 0 whether the animal is moving or not (should almost always = 1)

inf_fac

Variance inflation factor to increase simulation area

bm

boolean whether to draw from a Brownian process

Value

matrix of coordinate and velocity values drawn