plot.bassBasis: BASS Plot Diagnostics

View source: R/plot.R

plot.bassBasisR Documentation

BASS Plot Diagnostics

Description

Generate diagnostic plots for BASS model fit.

Usage

## S3 method for class 'bassBasis'
plot(x, quants = c(0.025, 0.975), pred = T, ...)

Arguments

x

a bassBasis object.

quants

quantiles for intervals, if desired. NULL if not desired.

pred

logical, should predictive performance be plotted?

...

graphical parameters.

Details

The first two plots are trace plots for diagnosing convergence. The third plot is posterior predicted vs observed, with intervals for predictions. The fourth plot is a histogram of the residuals (of the posterior mean model). If pred = FALSE, the third and fourth plots are omitted.

See Also

bassBasis, bassPCA, predict.bassBasis, sobolBasis

Examples

# See examples in bassBasis documentation.


lanl/BASS documentation built on May 15, 2024, 6:40 p.m.