mtc.deviance | R Documentation |
Inspect the posterior residual deviance and summarize it using plots
mtc.deviance(result)
mtc.devplot(x, ...)
mtc.levplot(x, ...)
## S3 method for class 'mtc.deviance'
plot(x, auto.layout=TRUE, ...)
result |
An object of class |
x |
An object of class |
auto.layout |
If |
... |
Graphical parameters. |
mtc.devplot
will generate a stem plot of the posterior deviance per arm (if there are only arm-based data) or the mean per data point deviance per study (if there are contrast-based data).
mtc.levplot
will plot the leverage versus the square root of the residual deviance (mean per data point for each study).
The generic plot function will display both on a single page (unless auto.layout=FALSE
).
mtc.deviance
returns the deviance statistics of a mtc.result
.
Gert van Valkenhoef
mtc.run
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.