plot.MCbound {MChtest}R Documentation

Plot stopping boundary

Description

Creates two plots of an object of class MCbound, an stopping boundary for use with Monte Carlo hypothesis tests. First, it plots the stopping boundary as number of replications (i.e., N) vs. number of sucesses (S). Second, it plots the estimated p-values vs. the confidence limits minus the estimated p-values (this nicely shows the width of the confidence intervals).

Usage

## S3 method for class 'MCbound'
plot(x, rdigit=4, plimit=500,...)

Arguments

x

an object of class MCbound

rdigit

the rounding digit for the parms values in the title

plimit

if the number of points in the MCbound is >plimit then plot lines, otherwise plot points

...

additional arguments to both plot functions

Value

Does not return any values. Does two plots only.

Author(s)

M.P. Fay

See Also

MCbound

Examples

plot(MCbound.precalc1)

[Package MChtest version 1.0-3 Index]