simDynoccSpatialData | R Documentation |
simDynoccSpatial
for AHM2 section 9.6.1.2 (page 564)
The data analyzed in Kéry & Royle (2021) section 9.6.1.2 was generated using simDynoccSpatial
with the RandomFields package. That data set cannot be generated if RandomFields is not available. This provides a data set to use with the code in that section.
data(simDynoccSpatialData)
A list with 45 elements. See the Value section in simDynoccSpatial
for details.
The data set was generated on a machine with RandomFields installed, using the following code:
source(system.file("RandomFieldsSupport", "simDynoccSpatial.R", package="AHMbook"))
simDynoccSpatialData <- simDynoccSpatial(side = 30, nyears = 10, nsurveys = 3, mean.psi1 = 0.1,
range.phi = c(0.5, 0.5), range.gamma = c(0.2, 0.2), range.p = c(0.4, 0.4),
beta.Xautolog = c(1, 1), seed.XAC = 1, seed = 24, ask.plot = TRUE)
Simulated data.
Kéry, M. & Royle, J.A. (2021) Applied Hierarchical Modeling in Ecology AHM2 section 9.6.1.2.
data(simDynoccSpatialData)
dat <- simDynoccSpatialData
str(dat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.