simulate.communityPGLMM {phyr} | R Documentation |
Simulate from a communityPGLMM object
Description
Note that this function currently only works for model fit with bayes = TRUE
Usage
## S3 method for class 'communityPGLMM'
simulate(object, nsim = 1, seed = NULL, re.form = NULL, ...)
Arguments
object |
A fitted model object with class 'communityPGLMM'. |
nsim |
positive integer scalar - the number of responses to simulate. |
seed |
an optional seed to be used in |
re.form |
(formula, |
... |
optional additional arguments: none are used at present. |