plot.exalStaticFit: Plot Method for 'exalStaticFit' Objects

View source: R/exalStaticFit_methods.R

plot.exalStaticFitR Documentation

Plot Method for exalStaticFit Objects

Description

Plot fitted conditional quantile summaries from a static AL/exAL regression fit. The method works for objects returned by exalStaticLDVB and exalStaticMCMC through their shared exalStaticFit family class.

Usage

## S3 method for class 'exalStaticFit'
plot(x, X = NULL, add = FALSE, col = "purple", cr.percent = 0.95, ...)

Arguments

x

A fitted static exalStaticFit object.

X

Optional design matrix used to compute fitted quantiles. If omitted, the method uses x$X when available.

add

Logical; add to an existing plot.

col

Character vector of length 1 giving color for fitted quantiles.

cr.percent

Numeric in (0, 1) for credible-interval mass.

...

Additional arguments passed to plot when add = FALSE.

Value

Invisibly returns a list with map.quant, lb.quant, and ub.quant.


exdqlm documentation built on July 10, 2026, 1:08 a.m.