bcrw: Simulate Biased Correlated Random Walk

Description Usage Arguments Author(s)

View source: R/generate_data.R

Description

Simulate Biased Correlated Random Walk

Usage

1
2
3
4
5
6
7
8
bcrw(
  start_loc,
  centroid,
  n_steps,
  sl_distr = c(shape = 0.75, scale = 200),
  rho = 0.25,
  beta = 0.1
)

Arguments

start_loc

[numeric] Vector of length 2 giving x and y coordinates of starting location.

centroid

[numeric] Vector of length 2 giving x and y coordinates of home range centroid.

n_steps

[integer] Integer giving number of steps to simulate.

sl_distr

[numeric] Named vector of length 2 giving shape and scale of gamma distribution from which step lengths are drawn.

rho

[numeric] Value between 0 and 1 giving correlation of turning angles.

beta

[numeric] Value between 0 and 1 giving the strength of the attraction towards the centroid, i.e., strength of the bias.

Author(s)

Brian J. Smith & Simona Picardi


bsmity13/LoCoHverlap documentation built on Feb. 15, 2021, 12:43 p.m.