One observed value per site from a GLMM with no detection process, matching
the count() family: log-link Poisson / negative-binomial counts, an
identity-link Gaussian response, or a logit-link binomial response (k
successes out of n trials per site). The mean predictor is X beta with
beta the fixed-effect coefficients (intercept first).
Arguments
- N
Number of sites (default 200).
- beta
Fixed-effect coefficients, length
1 + n_covs(intercept first).- response
The response distribution:
"poisson","negbin","gaussian", or"binomial".- size
Negative-binomial size (dispersion); larger is closer to Poisson. Used only for
response = "negbin".- sd
Gaussian residual SD. Used only for
response = "gaussian".- trials
Per-site trial count for
response = "binomial": a scalar (recycled) or a length-Nvector. Default 10 (a scalar 1 gives Bernoulli data, thesvcPGBinomtrials = 1setting).- seed
Random seed.