plot.conjugate: Draw Distributions of a Univariate Bayesian Model

Description Usage Arguments

Description

Draw distributions (prior, likelihood, posterior and predictive) of a univariate bayesian model.

Usage

1
2
3
4
## S3 method for class 'conjugate'
plot(x, dist = c("posterior", "likelihood", "prior",
  "predictive"), interval = NULL, type = "l", size = NULL, ylab = NULL,
  xlab = NULL, ...)

Arguments

x

An object of class conjugate.

dist

The distribution that is used, posterior, prior, likelihood or predictive distribution.

interval

interval to draw density. A list with arguments to the function seq.

type, size, ylab, xlab, ...

Graphics parameters.


JrEduardo/lce5813 documentation built on May 10, 2019, 12:09 a.m.