est_kde: estimate raw density of recovered individuals

View source: R/est_kde.R

est_kdeR Documentation

estimate raw density of recovered individuals

Description

This function estimates the raw density of recovered individuals in space and time from given data using a kernel density estimate.

Usage

est_kde(
  mark_recapture_object,
  res = 100,
  all = FALSE,
  xname = "longitude",
  yname = "latitude",
  timename = "age",
  bw = NULL,
  lam = 1.1
)

Arguments

mark_recapture_object

object of class mark_recapture_object (see mark_recapture_object())

res

resolution in space

all

boolean: if TRUE only one kernel density estimate will be calculated summarizing all areas of origin. Defaults to FALSE.

xname

name of x variable, e.g. longitude

yname

name of y variable, e.g. latitude

timename

name of time variable, e.g. age

bw

numeric. Spatial bandwidth parameter. Defaults to NULL.

lam

numeric. temporal bandwidth parameter. Defaults to 1.1.

Value

mark_recapture_object with list of values created by sparr::spattemp.density (see ?sparr::spattemp.density for details) and spatial resolution.

Examples

mro <- est_kde(mro1D)

SaskiaSchirmer/CONSURE documentation built on Sept. 3, 2023, 8:52 a.m.