Description Usage Format Details Source References Examples
These datasets are objects of class "mcmc.list"
containing the
result of the fit of registered models (see Details) to our lek count
dataset (lekcounts
).
1 2 3 4 5 6 7 |
Objects of class "mcmc.list"
.
Each dataset contains the MCMC iterations obtained by fitting a
registered model (see help(modelCountDetectBinREY)
for a list
of registered model) to our dataset lekcount
. See examples
below for a description of the process that led to these
datasets. More precisely:
coefModelCountDetectBin
contains the results of the fit of the
model modelCountDetectBin
(see ?modelCountDetectBin
),
using as periods the two-years periods (2010-2011, 2012-2013, etc.)
coefModelCountDetectBinREY
contains the results of the fit of
the model modelCountDetectBinREY
(see
?modelCountDetectBinREY
), using as periods the two-years
periods.
coefModelm281
contains the results of the fit of
the same model modelCountDetectBinREY
after having removed lek
281 frome the dataset. This lek is an outlier, and refitting the
model without this lek allows to assess its effect on the estimates of
the model (see the vignette).
coefModelCountDetectBetaBinREY
contains the results of the fit
of the model modelCountDetectBetaBinREY
(see
?modelCountDetectBetaBinREY
), using as periods the two-years
periods.
The original Dataset has been kindly provided by the Observatoire des Galliformes de Montagne:
Observatoire des Galliformes de Montagne. 90 impasse des daudes 74320 Sevrier, France.
Calenge C., Menoni E., Milhau B., Foulche K, Chiffard J., Marchandeau S. (in prep.). The participatory monitoring of the capercaillie in the French Pyrenees.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ## We demonstrate how we calculated coefModelCountDetectBinREY,
## but the process is the same for other datasets
## We work on the dataset lekcounts
head(lekcounts)
## We prepare the dataset to fit the model with JAGS
dataList <- dataCount2jags(lekcounts$lek, lekcounts$period,
lekcounts$nbobs, lekcounts$nbmales,
lekcounts$gr, as.numeric(factor(lekcounts$type)),
lekcounts$natun, lekcounts$year)
dataList
## We then fit the model. WARNING!!! THIS COMMAND IS VERY SLOW AND
## CAN TAKE SEVERAL HOURS
## Not run:
coefModelCountDetectBinREY <- fitModelCount(dataList, "modelCountDetectBinREY")
## End(Not run)
## To save time for the user, we have stored the result of this
## command in the dataset coefModelCountDetectBinREY.
## The same approach was used for other datasets.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.