Learn R Programming

binGroup (version 2.2-1)

plot.poolbin: Diagnostic line fit for pool.bin objects

Description

Diagnostic line fit for pool.bin objects

Usage

# S3 method for poolbin
plot(x, pch = 16, refline = TRUE, printR2 = TRUE, ...)

Arguments

x

an object of class "poolbin", as can be created by pooledBin

pch

symbol type for plotting, see ?pch

refline

logical, whether or not to add a reference line to the plot

printR2

logical, whether to print R^2

further arguments passed to plot

Value

a plot

Details

Brad: Maybe drop a line here...

References

Brad: Any reference for this?

Examples

Run this code
# NOT RUN {
test <- pooledBin(x=c(8,3,1,0), m=c(50,20,10,5),
n=c(10,10,10,10), pt.method="firth", ci.method="lrt")

plot(test)
# }

Run the code above in your browser using DataLab