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

dispersal_kernel

Create a dispersal kernel


Description

Create a dispersal kernel

Usage

dispersal_kernel(
  formula,
  coefs,
  habitat = NULL,
  other.vars = NULL,
  start,
  max.dist,
  init.dir = amt::as_rad(45),
  standardize = TRUE,
  raster = TRUE,
  stop = 0
)

Arguments

formula

[formula]
The formula for the dispersal kernel.

coefs

[named numeric]{>1}
Coefficients for the terms in the formula. Names of the coefficients must match the name of the terms.

habitat

[RasterLayer]
The habitat matrix / landscape.

other.vars

[data.frame = NULL]
Possible other covariates.

start

[numeric(2)]
Coordinates of the start position.

max.dist

[numeric(1)]
The maximum distance of the dispersal kernel.

init.dir

[numeric(1)]
The initial direction in rad.

standardize

[logical(1) = TRUE]
Should the result be standardized.

raster

[logical(1) = TRUE]
Should a RasterLayer be returned.

stop

[integer(1)=1]{0,1}
What happens when the animal steps out of the landscape.


amt

Animal Movement Tools

v0.1.4
GPL-3
Authors
Johannes Signer [aut, cre], Brian Smith [ctb], Bjoern Reineking [ctb], Ulrike Schlaegel [ctb], John Fieberg [ctb], Scott LaPoint [dtc]
Initial release

We don't support your browser anymore

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