| plot,powerClass-method | R Documentation | 
plotMethod for function plot with 
signature(x = "powerClass")
## S4 method for signature 'powerClass'
plot(x, stencil, ...)
| x | the name of powerClass object. | 
| stencil | an optional arg containing 4 choices of print: missing(default), 1, 2, 3. See details. | 
| ... | not used | 
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.   
signature(x = "powerClass")Method for function plot for object of S4 class powerClass.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.