importFrom("stats", "complete.cases", "pairwise.table", "pchisq", "ptukey")

importFrom("stats", "complete.cases", "pairwise.table", "pchisq", "ptukey",

"pnorm", "pt", "p.adjust.methods", "p.adjust", "qnorm")

useDynLib('PMCMRplus', .registration = TRUE, .fixes = "F_")

importFrom("stats", "as.ts", "lag", "median", "na.omit", "sd", "var")

"abline", "axis", "hist", "lines", "par", "plot")
"aggregate", "approx", "quantile", "runif", "sd",

poisson.MODpq.log, poisson.MODpq.nonlin, poisson.MODpq, poisson.MODpq.stnar, poisson.MODpq.tnar,
importFrom("stats", toeplitz, pchisq, pnorm, pt, rchisq, rgamma, runif, optimise)

export(adja, adja_gnp, getN, global_optimise_LM_stnarpq, global_optimise_LM_tnarpq,
importFrom("stats", toeplitz, pchisq, pnorm, pt, rchisq, rgamma, runif,

optimise, model.matrix, glm, logLik, poisson)

importFrom("stats","lm", "glm", "cor","median","qnorm", "pnorm","quantile","sd","var", "coef", "family", "pt")

importFrom("graphics", "arrows", "axis", "legend", "lines", "par", "plot", "polygon", "text", "title")

importFrom("graphics", "abline", "arrows", "hist", "lines", "matplot",
"par", "plot", "points", "rect", "segments")
importFrom("stats", "AIC", "acf", "approx", "chisq.test", "confint",
"density", "fitted", "ks.test", "median", "na.omit",
"optim", "pchisq", "pnorm", "ppoints", "qchisq", "qnorm",
"quantile", "rexp", "runif", "sd", "uniroot", "var")
useDynLib(POT, .registration = TRUE, .fixes="POT_")
export(diplot, mrlplot, tcplot, lmomplot) #checkThres.R (originally)
export(clust, exiplot, fitexi) #clust.R (originally)
export(chimeas, tailind.test, tsdep.plot) #AsympDep.R (originally)
#random generation in  mcpot-simmc*.R (simmcpot.R or simmc.R originally)
#Density of the Extremal Index in exi***.R (fitMcGPD.R originally)
#transforms in utils-***.R  originally confGPD.R or utils.R or ts2tsd.R
#d, p, q, r functions in GPD-dpqr-fun.R (originally simGPD.R)
#d, p, q, r functions in bvGPD-dpqr-fun.R (originally bvGPD.R)
#sample L-moments in util-lmom.R (originally fitGPD.R)
#Loglikelihood for all models inheriting from "pot" class in pot-***.R (orignally internals.R)
#Fisher-based confidence intervals in confGPD.R only for "pot" objects
#Profiled Confidence intervals in confGPD.R only for "pot" objects
#new generic methods in methods.R for "default" class
#univariate POT: "uvpot" inherits from "pot"
#fitting univariate GPD in fitGPD.R that define uvpot objects
#fit point process characterisation to POT in uvpot-fitPP.R (originally fitPP.R) that define uvpot objects
#new uvpot methods in uvpot-***.R (originally plotGPD.R or internals.R)
#classic uvpot methods in uvpot-***.R (originally plotGPD.R, internals.R, anova.R or confGPD.R)
#Markov Chain POT: "mcpot" inherits from "uvpot" which inherits from "pot"
#fit Markov Chain Models to Peaks Over a Threshold in fitMcGPD.R that define mcpot objects
#new uvpot methods in mcpot-***.R (originally plotMcGPD.R or internals.R)
#classic bvpot methods in mcpot-***.R (originally internals.R or plotMcGPD.R)
#bivariate POT: "bvpot" inherits from "pot"
#fit bivariate Peaks Over a Threshold in bv-fitBvGPD.R (originally fitBvGPD.R) that define bvpot objects
#new uvpot methods in bvpot-***.R (originally internals.R or plotBvGPD.R)
#classic bvpot methods in bvpot-***.R (originally internals.R, anova.R or plotBvGPD.R)