export(absolute.plot, contrast.plot, nma.ab.bin, nma.ab.cont, nma.ab.followup, nma.ab.py, nma.networkplot, rank.prob)
import(rjags, coda, grDevices, methods)
importFrom("graphics", "abline", "axis", "legend", "lines", "mtext", "par", "plot", "polygon", "points", "rect", "text", "strwidth")
importFrom("stats", "complete.cases", "density", "qnorm", "quantile", "update")
importFrom("utils", "write.table")

importFrom("stats", "rbinom", "reorder", "rhyper", "rmultinom")

"model.frame", "model.matrix", "na.omit", "pt", "resid")

import(methods, stats4, Matrix, BB, PolynomF, zoo, lagged, sarima)
importFrom(graphics, boxplot, layout, par, points, lines, axis, mtext)
importFrom(stats, ARMAacf, Box.test, C, as.formula,
frequency, start, end, cycle, deltat, time, window,
importFrom(mcompanion, chain_ind, mf_VSform, null_complement, sim_pcfilter)
"[<-",      # the methods (at least for "[<-") seem to work without this
# show,   # 2019-06-10 for pkgdown, error in PeriodicBJFilter and PeriodicSPFilter
#     didn't resolve the problem, so commenting out.
#     TODO: could this be related to unexported show() methods from 'sarima'?
# , as.matrix.pcAcvf       # S3 methods, declared above; no need to export
# , as.matrix.slMatrix    #     todo: document somehow?
, slMatrix # now in 'lagged' but export it anyway !!
# , autocovariances   # don't reexport while 'sarima' is in 'Depends'
#, acfbase2sl  # now in lagged; for export see \docType{import} and
#, sl2acfbase  # for a way to avoid documenting if re-exported.
# (and maybe use lagged::sl2acfbase for re-export)
# However, expoting these seems an overkill (but TODO: think about it).

import(methods, stats4, Matrix, PolynomF, zoo, xts, lagged, sarima) # BB
importFrom(stats, complete.cases, ARMAacf, Box.test, C, as.formula,
frequency, start, end, cycle, deltat, time, window, "window<-",
residuals, fitted, predict, printCoefmat, weighted.residuals,
importFrom(lubridate, minutes, hm, ymd,  is.Date, weeks, days,  period,
## these don't get registered without exporting
## something related to base:as.Date being masked by zoo::as.Date?
##    I am importing zoo and zoo::as.Date, hence calls from inside the package use that.
##    However, if I don't reexport zoo::as.Date, then calls outside the package will be to    ##    base::as.Date.