mink | R Documentation |
The mink data is the data analyzed by Fuller et al. (2016) in their Ecological Applications paper, with 2 objects illustrating fitted models.
data("mink")
The data include 5 lists, mink.sf
(scrFrame), mink.cs
(cost surface), mink.ss
(state-space object), Mecol
(ecological distance model fit object; see Examples), and mEuc
(Euclidean distance model fit object; see Examples).
Fuller AK, Sutherland CS, Royle JA, Hare MP. Estimating population density and connectivity of American mink using spatial capture?recapture. Ecological Applications. 2016 Jun 1;26(4):1125-35.
library(oSCR)
data(mink)
# Compare Ecological and Euclidean models using a well supported model structure
# desnity: D ~ D2city
# detetection: p ~ sex
# sigma: sig ~ sex
#Euclidean
mEuc <- oSCR.fit(model = list(D~D2city, p0~sex, sig~sex),
scrFrame= mink.sf, ssDF = mink.ss, trimS=2,
distmet = "euc")
#Ecological
mEcol <- oSCR.fit(model = list(D~D2city, p0~sex, sig~sex, asu~d2water),
scrFrame= mink.sf, ssDF = mink.ss, costDF = mink.cs,
trimS=2, distmet = "ecol")
(fl <- fitList.oSCR(list(mEuc,mEcol),rename=T))
(ms <- modSel.oSCR(fl))
ms$aic
ms$coef
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.