railSims | R Documentation |
A data set for single-season two-species occupancy modelling. See occ2sps
for details of these kinds of models.
data("railSims")
A data frame with detection (1) vs non-detection data for 2 species at 160 sites on three occasions.
detection histories for the dominant species on 3 occasions
detection histories for the subordinate species on 3 occasions
a continuous site covariate, standardised to mean 0, sd 1
a logical site covariate.
The data come from a simulated scenario with the following parameters:
psiA | = plogis(0 + 2*logArea) | = probability of occupancy of species A |
psiBa | = 0.77 | = probability of occupancy of B if A is absent |
psiBA | = plogis(-1 + 2*reeds) | = probability of occupancy of B if A is present |
pA | = 0.75 | = probability of detection of species A if B is absent |
rA | = pA | = probability of detection of species A if both are present |
pB | = 0.80 | = probability of detection of species B if A is absent |
rBa | = pB | = probability of detection of species B if both are present but A was not detected |
rBA | = 0.40 | = probability of detection of species B if both are present and A was detected |
Simulated data
Richmond, O.M.W., Hines, J.E., & Beissinger, S.R. (2010) Two-species occupancy models: a new parameterization applied to co-occurrence of secretive rails. Ecological Applications, 20, 2036-2046.
data(railSims) # Separate the two detection histories DHA <- railSims[, 1:3] DHB <- railSims[, 4:6] # Default model (no interaction) occ2sps(DHA, DHB) # Model with full interaction occ2sps(DHA, DHB, list(psiBA ~ 1, rA ~ 1, rBa ~ 1, rBA ~ 1)) # Model corresponding to the data generation model occ2sps(DHA, DHB, list(psiA ~ logArea, psiBA ~ reeds, rBA ~ 1), data=railSims)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.