marginal.edge.bayes.bels.plot: marginal edge bayes posterior belief plots

View source: R/marginal.edge.plot_util.R

marginal.edge.bayes.bels.plotR Documentation

marginal edge bayes posterior belief plots

Description

Plots Median[Pr(X1)] vs. Post-dist[Pr(X1|X2)] and Median[Pr(X2)] vs. Post-dist[Pr(X2|X1)] Handy for checking for independencies between X1 and X2

Usage

marginal.edge.bayes.bels.plot(
  posterior.edge.belief.info,
  type = "X1|X2",
  ymax = 2500,
  prob.level = 0.95
)

Arguments

posterior.edge.belief.info

Output from marginal.edge.bels.bayes()

type

Either "X1|X2" or "X2|X1"

ymax

y-axis frequency scale. Depends on how many posterior samples input and width of posteriors. Adjust as necessary.

prob.level

Desired width of HPDI intervals plotted

Value

The function will XX


npetraco/CRFutil documentation built on Nov. 23, 2023, 11:30 a.m.