| bri.Pois.resid | R Documentation | 
Baysian Pearson residuals for Poisson regression using INLA
bri.Pois.resid(inla.obj, covariate = NULL, m = 1000, pmedian = FALSE,
  plot = FALSE, smooth = FALSE, xlab = NULL, cex.lab = 1.25,
  cex.axis = 1.25, ylab = "Bayesian residual", ylim = NULL,
  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.  | 
plot | 
 if plot = TRUE, a Bayesian residual plot will be generated  | 
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.  | 
... | 
compute Bayesian Pearson residuals, and generate a index plot or a plot of the residual versus the predictor for Bayesian Possion 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.