Description Usage Arguments Value
View source: R/plot-residuals.r
Save residual plots from a jaggernaut jags_analysis object to a pdf file.
1 2 3 |
object |
a jags_analysis object. |
model |
a count or flag specifying the model to select. |
parm_residual |
a character element naming the residuals parameter. |
parm_fitted |
a character element naming the fitted parameter. |
name |
a character scalar naming the file. |
derived_code |
a character element defining a block in the JAGS dialect of the BUGS language that defines one or more derived parameters for each row of data. If NULL derived_code is as defined by the JAGS model for which the JAGS analysis was performed. |
random_effects |
a named list which specifies which parameters to treat as random variables. If NULL random is as defined by the JAGS model for which the JAGS analysis was performed. |
level |
a numeric scalar specifying the significance level or a character
scalar specifying which mode the level should be taken from. By default the
level is as currently specified by |
data |
the dataset for which to calculate the residuals. By default data is NULL as the residuals are typically calculated on the original dataset. |
... |
further arguments passed to or from other methods. |
Save plots to a pdf file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.