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.
# S3 method for mcml
residuals(object, type, ...)
A matrix with either one column is conditional is false, or with number of columns corresponding to the number of MCMC samples.
A `mcml` object.
Either "standardized", "raw" or "pearson"
Further arguments passed from other methods