Learn R Programming

quantbayes (version 0.1.0)

quant_es_plots: quantbayes plotting utilities

Description

Produces diagnostic plots: global density, overlay density, evidence matrix, p_hat, and theta credible intervals.

Usage

quant_es_plots(
  res,
  x_matrix,
  top_n = 20,
  top_overlay = 10,
  highlight_points = NULL,
  palette10 = (grDevices::colorRampPalette(c("#2f4356", "#656d87", "#f1e1d4", "#ffbf00",
    "#ee4035")))(10),
  palette20 = (grDevices::colorRampPalette(c("#656d87", "#2f4356")))(20)
)

Value

A list of ggplot objects.

Arguments

res

Result from quant_es_core.

x_matrix

Evidence matrix used for the run.

top_n

Number of variants for matrix and summary plots.

top_overlay

Number of top variants used in overlay density.

highlight_points

Optional list of highlighted variants.

palette10

Colour palette for overlay density lines.

palette20

Colour palette for p_hat plot.