useDynLib(PottsUtils)
export(getConfs, getEdges, getWeights, getNeighbors, getBlocks, getPatches,
rMultinom, SW, Wolff, BlocksGibbs, rPotts1, getNC)

useDynLib(PottsUtils)
export(getConfs, getEdges, getWeights, getNeighbors, getBlocks, getPatches,
rMultinom, SW, Wolff, BlocksGibbs, rPotts1, getNC)

importFrom("graphics", "hist", "legend", "lines", "plot", "points",
importFrom("stats", "median", "na.omit", "quantile", "rnorm", "sd")

export(calcFx, checklaw, compquant, create.alter, gensample, getindex, getnbparlaws, getnbparstats, graph, help.law, help.stat, law.cstr, many.crit, many.pval, plot.discrepancy, plot.pvalue, plot.sizepower, powcomp.easy, powcomp.fast, power.gui, print.critvalues, print.index, print.power, pvalueMC, stat.cstr, statcompute)

# Export all names except those beginning with .

# Define S3 methods for the return value class "pwrtsd"

# Export explicitly by name, good practice
#importFrom(stats, pt, qt, pnorm, qnorm, rnorm, rchisq, quantile)

importFrom(mvtnorm, pmvt, pmvnorm, GenzBretz, rmvnorm)

importFrom("stats", "dnorm", "pnorm", "qchisq", "qnorm", "runif")

importFrom("stats", "dnorm", "pnorm", "qchisq", "qnorm", "runif", "qgamma")

# S3 methods for printing/plotting power analysis

#  mvtnorm, stats, graphics, grDevices, utils
## import selectively only the used functions
importFrom(graphics, plot, close.screen, legend, text, points,
abline, screen, split.screen, par, segments)
importFrom(stats, dnorm, pnorm, qnorm, rnorm, pt, qt, dchisq, qchisq, rchisq,

# import selectively only the used functions (good practice)

qf, uniroot, integrate, optim, binom.test)
importFrom(utils, tail, head, read.table, flush.console)

importFrom(graphics, abline, box, close.screen, legend, par, plot, points,

# S3 method print for the regulatory settings in ABEL

screen, split.screen,  segments, text, mtext, grid)
importFrom(stats, dnorm, pnorm, qnorm, rnorm, dt, pt, qt, dchisq, qchisq, rchisq,

qf, rf, df, uniroot, integrate, optim, binom.test, coef, lm.fit,
importFrom(utils, tail, head, read.table, flush.console, setTxtProgressBar,