PlotPowerProfile | R Documentation |
Plot power profile, specifying FDR level and sample size. It will return the image as well as the predicted power at various sample sizes.
PlotPowerProfile(mSetObj=NA, fdr.lvl, smplSize, imgName, format, dpi, width)
mSetObj |
Input the name of the created mSetObj (see InitDataObjects) |
fdr.lvl |
Specify the false-discovery rate level. |
smplSize |
Specify the maximum sample size, the number must be between 60-1000. |
imgName |
Specify the name to save the image as. |
format |
Specify the format of the image to save it as, either "png" or "pdf". |
dpi |
Specify the dots-per-inch (dpi). By default it is 72, for publications the recommended dpi is 300. |
width |
Specify the width of the image. NA specifies a width of 9, 0 specifies a width of 7, otherwise input a chosen width. |
Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.