# Import all packages listed as Imports or Depends
# not selective
#import(
#  mvtnorm, stats, graphics, grDevices, utils
#)
# import selectively only the used functions (good practice)
importFrom(mvtnorm, pmvt, pmvnorm, GenzBretz)
importFrom(graphics, plot, close.screen, legend, text, points, 
           abline, screen, split.screen, par, segments)
importFrom(grDevices, colorRampPalette)
importFrom(stats, dnorm, pnorm, qnorm, rnorm, pt, qt, dchisq, qchisq, rchisq, 
           qf, uniroot, integrate)
importFrom(utils, tail, head, read.table)

# Export all names except those beginning with .
# exportPattern("^[^\\.]")
#
# Export explicitly by name
export(
    bib.CL
  , CI.BE
  , CI.RatioF
  , CVCL
  , CV2se
  , CV2mse
  , CVfromCI
  , CI2CV
  , CVp2CV
  , CVpooled
  , exppower.noninf
  , exppower.TOST
  , expsampleN.noninf
  , expsampleN.TOST
  , known.designs
  , OwensQ
  , OwensQOwen
  , OwensT
  , pa.ABE
  , pa.scABE
  , pa.NTIDFDA
  , power.noninf
  , power.RatioF
  , power.TOST
  , power.TOST.sim
  , power.NTIDFDA
  , power.HVNTID
  , power.RSABE
  , power.scABEL
  , power.dp
  , pvalue.TOST
  , pvalues.TOST
  , sampleN.noninf
  , sampleN.RatioF
  , sampleN.TOST
  , sampleN.NTIDFDA
  , sampleN.HVNTID
  , sampleN.RSABE
  , sampleN.scABEL
  , sampleN.dp
  , se2CV
  , mse2CV
  , scABEL
)         


# Define S3 methods for the pooled CV
S3method(print, CVp)
# S3 methods for printing/plotting power analysis
S3method(print, pwrA)
S3method(plot, pwrA)
