bri.band.plot | R Documentation |
Plot credible band for a nonlinear function using plot()
bri.band.plot(result, name = NULL, alpha = 0.05, ind = NULL,
x = NULL, xlab = NULL, ylab = NULL, main = NULL, sub = NULL,
xlim = NULL, ylim = NULL, cex.lab = 1.5, cex.axis = 1.5,
type = c("random", "fitted", "linear"), hpd = FALSE,
gray.band = TRUE)
result |
the result object from INLA call |
name |
the name of the component for which to do the plot |
alpha |
specifies the credibility level as 100(1-alpha)% |
ind |
the indices for the part of a component that should be plotted |
x |
the predictor vector |
xlab |
a title for the x axis |
ylab |
a title for the y axis |
main |
an overall title for the plot |
sub |
a sub title for the plot |
xlim |
sets the limits of x axis |
ylim |
sets the limits of y axis |
type |
the type of nonlinear function to be plotted: 'random' random effects; 'fitted' fitted values; 'linear' linear predictors |
hpd |
TRUE if highest posterior density (HPD) interval is plotted (FALSE by default) |
gray.band |
TRUE (default) if the credible band is filled with gray color |
A plot of posterior mean and credible band for a nonlinear function estimated by INLA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.