residuals.mcml {glmmrBase} | R Documentation |
Residuals method for a 'mcml' object
Description
Calling residuals on an 'mcml' object directly is not recommended. This function will currently only generate marginal residuals. It will generate a new 'Model' object internally, thus copying all the data, which is not ideal for larger models. The preferred method is to call residuals on either the 'Model' object or using 'Model$residuals()', both of which will also generate conditional residuals.
Usage
## S3 method for class 'mcml'
residuals(object, type, ...)
Arguments
object |
A 'mcml' object. |
type |
Either "standardized", "raw" or "pearson" |
... |
Further arguments passed from other methods |
Value
A matrix with either one column is conditional is false, or with number of columns corresponding to the number of MCMC samples.
[Package glmmrBase version 0.9.2 Index]