| simulate.MCMCglmm | R Documentation | 
Simulated response vectors for GLMMs fitted with MCMCglmm
## S3 method for class 'MCMCglmm'
simulate(object, nsim = 1, seed = NULL, newdata=NULL, marginal = object$Random$formula, 
          type = "response", it=NULL, posterior = "all", verbose=FALSE, ...)
| object | an object of class  | 
| nsim | number of response vectors to simulate.  Defaults to  | 
| seed | Either  | 
| newdata | An optional data frame for which to simulate new observations | 
| marginal | formula defining random effects to be maginalised | 
| type | character; either "terms" (link scale) or "response" (data scale) | 
| it | integer; optional, MCMC iteration on which predictions should be based | 
| posterior | character; if  | 
| verbose | logical;  if  | 
| ... | Further arguments to be passed | 
A matrix (with nsim columns) of simulated response vectors
Jarrod Hadfield j.hadfield@ed.ac.uk
MCMCglmm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.