plot,powerClass-method: Method for Function 'plot'

plot,powerClass-methodR Documentation

Method for Function plot

Description

Method for function plot with
signature(x = "powerClass")

Usage

## S4 method for signature 'powerClass'
plot(x, stencil, ...)

Arguments

x

the name of powerClass object.

stencil

an optional arg containing 4 choices of print: missing(default), 1, 2, 3. See details.

...

not used

Details

The second argument stencil controls "what and how" to plot. stencil=missing (default) plots stand-alone images of z-score and power distributions along the range of sample sizes (see print-method for details on the range).
stencil=1 chooses z-score distributions to plot in stand-along fashion.
stencil=2 chooses power distributions to plot in stand-along fashion.
stencil=3 controls to plot z-score and power distributions paired alongside.
Also, Q0.05, Q01, Q0.5 (median) quantiles are graphed in lines.

Methods

signature(x = "powerClass")

Method for function plot for object of S4 class powerClass.

Examples

require(ltable)
data(tdata, package="ltable")
## For better illustration You should increase draw and burnin pars
pres<-MCPower(Counts~smoker +contraceptive +tromb +  
contraceptive*tromb, scale_max=1.5, effect="contraceptive*tromb", 
data=tdata, draw=1000, burnin=300)
plot(pres)
plot(pres, stencil=3)

ltable documentation built on Aug. 17, 2023, 1:06 a.m.