plotPriPost: Plot 1 marginal prior and posterior pdf.

Description Usage Arguments Value Author(s)

View source: R/plotPriPost.R

Description

Plot 1 marginal prior and posterior pdf.

Usage

1
plotPriPost(pri, pos, tag, xlim = range(c(pri, pos)), gPars, kl = TRUE)

Arguments

pri

prior sample

pos

posterior sample

tag

name of the variable

xlim

an interval

gPars

a list of graphical parameters and colors

kl

a logical to compute and display KL-divergence

Value

Produces a plot. The KL divergence in bits is displayed in the title if 'kl == TRUE'.

Author(s)

Pascal PERNOT


ppernot/FitOCTlib documentation built on April 11, 2020, 1:55 a.m.