Visualizing EI (density)
Usage
plot_density(ei.object, options = list(parameter = "betab"))
Arguments
- ei.object
The output of
ei()
- options
The list of options
parameter: A parameter to plot. It takes either
betab
orbetaw
.
Examples
data(matproii)
suppressMessages({
ei_res <- ei(formula = t ~ x, total = "n", data = matproii)
})
plot_density(ei_res, options = list(parameter = "betab"))
plot_density(ei_res, options = list(parameter = "betaw"))