plot.post: Plot a quantity of interest

Description Usage Arguments

Description

plot.post() produces a density plot for a single coefficient from an object of class "post."

Usage

1
2
3
## S3 method for class 'post'
plot(post, var_name, ci_type = "hpd", prob = 0.9,
  main = NULL, xlim = NULL, ylim = NULL, ...)

Arguments

post

An object of class "post" created by one of the sim_post_*() functions.

var_name

The name of the variable to plot.

ci_type

The type of confidence interval to compute. Either "hpd" (highest posterior density) or "et" (equal-tailed). Defaults to "hpd".

prob

A numeric scalar in the interval (0,1) giving the target probability content of the intervals.

main

The title of the plot.

xlim

The x limits (x1, x2) of the plot.

ylim

The y limits (y1, y2) of the plot.

...

Arguments passed to eplot() in the package compactr.


carlislerainey/separation documentation built on May 13, 2019, 12:45 p.m.