sim_and_calculate: Simulate data and calculate dsm

View source: R/sim_and_calculate.R

sim_and_calculateR Documentation

Simulate data and calculate dsm

Description

Simulate data and calculate dsm

Usage

sim_and_calculate(
  map_obj,
  transect_obj,
  N,
  crs,
  key,
  esw_km = NA,
  g_zero = NA,
  truncation_m,
  adjust,
  var = TRUE
)

Arguments

map_obj

dataframe. La carte utilisée.

transect_obj

dataframe. Les transects utilisés.

N

numeric. Le nombre d'individus dans la zone d'étude

crs

numeric. Le systeme de projection.

key

Character. Forme de la fonction de détection "hn" ou "unif"

esw_km

numeric. Effective strip width (km). Utile que pour la demi normale, sinon NA. Par défaut NA

g_zero

numeric. Le parametre de la loi uniforme. Par défaut NA.

truncation_m

numeric. A partir de quelle distance aucun individu ne peut être détecté.

adjust

character. Adjustment terms to use. "cos" gives cosine (default), "herm" gives Hermite polynomial and "poly" gives simple polynomial. A value of NULL indicates that no adjustments are to be fitted.

var

boolean. TRUE : the variance associated to the abondance estimate is calculated. FALSE : the variance is not estimated. By default = TRUE.

Value

list. Une liste avec toutes les informations utiles pour l'intercalibration des données.


maudqueroue/intercali documentation built on Oct. 8, 2022, 2:09 p.m.