Learn R Programming

Bayesrel (version 0.1.0)

pstrel: probability of estimate being bigger than threshold

Description

takes a mcmc posterior sample of any of the single test reliability estimates and calculates any given probability of the estimate being bigger or smaller than an arbitrary value

Usage

pstrel(x, estimate, low.bound)

Arguments

x

A strel output object (list)

estimate

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

low.bound

A number for the threshold to be tested against

Examples

Run this code
# NOT RUN {
pstrel(strel(cavalini, "lambda2"), "lambda2", .80)
# }

Run the code above in your browser using DataLab