simTrend {poptrend} | R Documentation |
Simulate population survey data.
Description
Simulates count survey data with a non-linear trend, and site and temporal random effects. The logistic function is used to create a trend the reduces the expected population size to half its initial value over the time period.
Usage
simTrend(nyear = 30, nsite = 40, mu = 3, timeSD = 0.1, siteSD = 0.3)
Arguments
nyear |
The number of years in the simulated survey. |
nsite |
The number of sites in the simulated survey |
mu |
The expected mean of the counts at the start of the survey. |
timeSD |
Standard deviation (at log-scale) of annual mean deviation from the trend. |
siteSD |
Standard deviation (at log-scale) of simulated among site variation. |
Value
A data frame containing simulated data.
Author(s)
Jonas Knape
[Package poptrend version 0.2.0 Index]