View source: R/Edetperspecies.R
Edetperspecies.jsodm | R Documentation |
For each species individually calculates the expected number of detections at each ModelSite. As this is the expected value, and each species treated individually, the same method can be applied to jsodm_lv models.
Edetperspecies.jsodm(fit, desiredspecies = fit$species) Odetperspecies(fit, y = NULL)
fit |
A fitted jsodm |
desiredspecies |
List of species names to include in the calculations |
An array of expected number of detections per modelsite x species x draw.
Odetperspecies
: Get observed detections per model site x species from the 'y' data in the fitted object.
fit <- readRDS("../sflddata/private/data/testdata/cutfit_7_4_11_2LV.rds") fit <- translatefit(fit) Endet <- Edetperspecies.jsodm(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.