View source: R/dataSimulation.R
simDat122 | R Documentation |
Generate counts of hares in two landuse types when there may be overdispersion relative to a Poisson
simDat122(nSites = 50, alpha = log(2), beta = log(5) - log(2), sd = 0.5)
nSites |
Number of sites |
alpha |
Intercept |
beta |
Slope for land use |
sd |
Standard deviation for overdispersion |
A list of simulated data and parameters.
nSites |
Number of sites |
alpha |
Intercept |
beta |
Slope for land use |
sd |
Standard deviation for overdispersion |
C_OD |
Simulated hare counts with overdispersion |
C_Poisson |
Simulated hare counts without overdispersion |
Marc Kéry
str(dat <- simDat122()) # Implicit default arguments
# Much greater OD to emphasize patterns (also larger sample size)
str(dat <- simDat122(nSites = 100, sd = 1))
# Revert to "Poisson model-of-the-mean" (i.e., without an effect of landuse type)
str(dat <- simDat122(nSites = 100, beta = 0, sd = 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.