View source: R/dataSimulation.R
simDat124 | R Documentation |
Generate counts of hares in two landuse types when study area size A varies and is used as an offset
simDat124(nSites = 50, 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 |
A |
Site areas |
C |
Simulated hare counts |
Marc Kéry
str(dat <- simDat124()) # Implicit default arguments
str(dat <- simDat124(nSites = 1000, beta = 0)) # "Model-of-the-mean" without effect of landuse
str(dat <- simDat124(nSites = 100, alpha = log(2), beta = -2)) # Grassland better than arable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.