View source: R/printfunctions.R
residuals.mcml | R Documentation |
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 class 'mcml'
residuals(object, type, ...)
object |
A 'mcml' object. |
type |
Either "standardized", "raw" or "pearson" |
... |
Further arguments passed from other methods |
A matrix with either one column is conditional is false, or with number of columns corresponding to the number of MCMC samples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.