Learn R Programming

exdqlm (version 0.4.0)

plot.exalStaticLDVB: Plot Method for exalStaticLDVB Objects

Description

Plot Method for exalStaticLDVB Objects

Usage

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

Value

A list with map.quant, lb.quant, and ub.quant.

Arguments

x

An exalStaticLDVB 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.