singlePoster: plot the posterior distribution

View source: R/summary.R

singlePosterR Documentation

plot the posterior distribution

Description

plot the posterior distribution for a single parameter

Usage

singlePoster(codaSamples, para, indiffZone = c(0.49, 0.51), credMass = 0.95,
  showMode = FALSE, usexlim = FALSE, xlimLow = 0.4, xlimHigh = 0.6)

Arguments

codaSamples

output from BernHierModel

indiffZone

limits of indiffZone

credMass

probility mass for highest density interval (HDI)

usexlim

manually set the xlim of histogram?

xlimLow

low end of xlim

xlimHigh

high end of xlim

Note

A wrapper of plotPost fucntion in BEST.

Examples

byesRes.A <- BernHierModel(F1.TypeA[, -1], saveName = "Family1.TypeA")
singlePoster(byesRes.A, "kappa")

ccshao/maIHB documentation built on July 9, 2022, 3:48 p.m.