Learn R Programming

Bayesrel (version 0.1.0)

plotstrel: plot function for an single test reliability estimate's posterior sample

Description

gives posterior and prior distribution and pie plots input is the main reliability estimation object and the estimate to be plotted

Usage

plotstrel(x, estimate, blackwhite = FALSE, criteria = TRUE,
  cuts = c(0.7, 0.8), twopie = FALSE)

Arguments

x

A strel output object (list)

estimate

A character string indicating what estimate to plot from the strel output object

blackwhite

A logical indicating if the plot should be in black and white

criteria

A logical indicating if cutoff criteria should be drawn

cuts

A two element vector indicating what the cutoffs should be

twopie

A logical indicating if an additional pie plot with the prior should be drawn

Examples

Run this code
# NOT RUN {
plotstrel(strel(cavalini, "lambda2"), "lambda2")

# }

Run the code above in your browser using DataLab