View source: R/trendAnalysis.R
| simTrend | R Documentation | 
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.
simTrend(nyear = 30, nsite = 40, mu = 3, timeSD = 0.1, siteSD = 0.3)
| 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. | 
A data frame containing simulated data.
Jonas Knape
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.