simulate.glmmTMB: Simulate from a glmmTMB fitted model
Description
Simulate from a glmmTMB fitted modelUsage
# S3 method for glmmTMB
simulate(object, nsim = 1, seed = NULL, ...)
Arguments
object
glmmTMB fitted model
nsim
number of response lists to simulate. Defaults to 1.
Value
returns a list of vectors. The list has length nsim
.
Each simulated vector of observations is the same size as the vector of response variables in the original data set.Details
Random effects are also simulated from their estimated distribution.
Currently, it is not possible to condition on estimated random effects.