plot.exalStaticDiagnostic: Plot Method for 'exalStaticDiagnostic' Objects

View source: R/exalStaticDiagnostics.R

plot.exalStaticDiagnosticR Documentation

Plot Method for exalStaticDiagnostic Objects

Description

Plot Method for exalStaticDiagnostic Objects

Usage

## S3 method for class 'exalStaticDiagnostic'
plot(
  x,
  cols = c("red", "blue"),
  type = c("quantile", "coefficients"),
  beta.ref = NULL,
  include.intercept = TRUE,
  coef.names = NULL,
  xlab = NULL,
  ylab = NULL,
  ylim = NULL,
  legend.labels = NULL,
  beta.ref.label = "reference",
  legend = TRUE,
  ...
)

Arguments

x

An exalStaticDiagnostic object.

cols

Character vector of length 1 or 2 giving color(s) used to plot diagnostics.

type

Character string; "quantile" plots fitted conditional quantile summaries, and "coefficients" plots posterior coefficient intervals.

beta.ref

Optional coefficient reference vector for type = "coefficients". This is typically available only in simulation benchmarks. It is used as a plotting overlay, not as a package diagnostic metric.

include.intercept

Logical; if FALSE, omit the first coefficient from type = "coefficients" plots.

coef.names

Optional names for coefficients in type = "coefficients" plots.

xlab, ylab

Optional axis labels.

ylim

Optional y-axis limits.

legend.labels

Optional labels for the first and second model intervals in type = "coefficients" plots.

beta.ref.label

Label for the optional beta.ref overlay.

legend

Logical; if TRUE, add a legend to coefficient plots.

...

Additional arguments passed to plotting functions.


exdqlm documentation built on June 5, 2026, 1:06 a.m.