Last data update: 2014.03.03

R: Plot stopping boundary
plot.MCboundR 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)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(MChtest)
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/MChtest/plot.MCbound.Rd_%03d_medium.png", width=480, height=480)
> ### Name: plot.MCbound
> ### Title: Plot stopping boundary
> ### Aliases: plot.MCbound
> ### Keywords: hplot
> 
> ### ** Examples
> 
> plot(MCbound.precalc1)
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>