simulate_data | R Documentation |
Produces a simulated data set for observed counts of individuals at each of nS sites for nT occasions. Note, this function was implemented before covariate inclusion, and has no ability to deal with covariate-including data simulation.
simulate_data( par, nT = 25, totals = rep(500, 50), a_type = "mixture", dist_type = "P", options = list(), thin = 0.4, returnDF = F )
par |
The vector of parameter values to be used |
nT |
The integer number of sampling occasions |
totals |
The integer site total for each site |
a_type |
The character name of the seasonal distribution |
dist_type |
The character name of the count distribution |
options |
A list of options to specify behaviours of the seasonal distribution. Inlcludes B, the number of broods. Currently covariates are not supported. |
thin |
The proportion of sampling opportunities which should be missed, and replaced with an NA. |
returnDF |
If TRUE, returns a data.frame with site, occasion, and count columns, rather than a matrix of counts |
A matrix of simulated counts for each site (rows) and each occasion (columns).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.