bri.lmresid.plot | R Documentation |
linear regression model Baysian residual plot
bri.lmresid.plot(inla.obj, covariate = NULL, m = 1000,
pmedian = FALSE, smooth = FALSE, xlab = NULL, cex.lab = 1.25,
cex.axis = 1.25, ylab = "Bayesian residual", main = "", ...)
inla.obj |
an object of class "inla". |
covariate |
the covariate of interest for the residual plot. |
m |
the size of posterior samples to be generated from the posterior distribution. |
pmedian |
if pmedian = TRUE, posterior medians of Bayesian residuals will be calculated. |
smooth |
if smooth = TRUE, a nonparametric smooth curve will be added. |
xlab |
a title for the x axis. |
cex.lab |
The magnification to be used for x and y labels relative to the current setting of cex. |
cex.axis |
The magnification to be used for x and y labels relative to the current setting of cex. |
ylab |
a title for the y axis. |
main |
an overall title for the plot. |
... |
generate a Bayesian residual index plot or a plot of the residual versus the predictor for linear regression using INLA.
a list consisting of residuals (resid), the covariate used for plot (covariate), the response variable (y)
Xiaofeng Wang, wangx6@ccf.org
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.