Learn R Programming

binGroup (version 2.2-1)

plot.bgtDesign: Plot Results of nDesign or sDesign

Description

Plots the results of the iteration performed by nDesign or sDesign in order to find an experimental design with sufficient power.

Usage

# S3 method for nDesign
plot(x, …)
# S3 method for sDesign
plot(x, …)

Arguments

x

An object of class "nDesign" or "sDesign" as can be created by nDesign and sDesign, respectively.

further arguments to be passed to plot

Examples

Run this code
# NOT RUN {
plot(nDesign(nmax=100, s=30, delta=0.004, p.hyp=0.005,
 alternative="less", method="Score", power=0.8))

# }

Run the code above in your browser using DataLab