View source: R/dataSimulation.R
simDat11 | R Documentation |
Generate counts of hares in two areas with different landuse
simDat11(nSites = 30, alpha = log(2), beta = log(5) - log(2))
nSites |
Number of sites |
alpha |
Intercept |
beta |
Slope for land use |
A list of simulated data and parameters.
nSites |
Number of sites |
alpha |
Intercept |
beta |
Slope for land use |
y |
Simulated hare counts |
Marc Kéry
str(dat <- simDat11()) # Implicit default arguments
# Revert to "Poisson model-of-the-mean"
# (Increase sample size to reduce sampling variability)
str(dat <- simDat11(nSites = 1000, beta = 0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.