Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plotDist

Plots the histogram of MCMC samples.


Description

Plots the histogram of MCMC samples.

Usage

plotDist(
  sample = NULL,
  Title = NULL,
  xLab = "Value",
  yLab = "Density",
  xLim = NULL,
  fontSize = NULL,
  binSize = NULL,
  ...
)

Arguments

sample

MCMC samples

Title

Character value containing the main title for the plot

xLab

Character value containing the x label

yLab

Character value containing the y label

xLim

Vector containing the lower and upper x-bounds of the plot

fontSize

Size of the font to use for plotting. Defaults to 10

binSize

Size of the bins for creating the histogram. Defaults to 30

...

Arguments that can be additionally supplied to geom_histogram

Value

h1 Plot object


hBayesDM

Hierarchical Bayesian Modeling of Decision-Making Tasks

v1.1.1
GPL-3
Authors
Woo-Young Ahn [aut, cre], Nate Haines [aut], Lei Zhang [aut], Harhim Park [ctb], Jaeyeong Yang [ctb], Jethro Lee [ctb]
Initial release
2021-05-04

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.