useDynLib(HMMHSMM, .registration=TRUE)

importFrom(Rcpp, evalCpp)

importFrom(stats, cov.wt, dexp, dgamma, dhyper, dlnorm, dnbinom, dnorm, dpois, dweibull,
           kmeans, nlm, optim, qpois, quantile, rbeta, rbinom, rexp, rgamma, rlnorm,
           rnbinom, rnorm, rpois, runif, rweibull, sd, var, weighted.mean, acf, dgeom,
           mad, pexp, pgamma, plnorm, plogis, pnbinom, pnorm, ppois, pweibull, qnorm,
           qt, uniroot,complete.cases)

importFrom(extRemes, devd, revd, pevd)

importFrom(evd, fgev, porder)

importFrom(mnormt, rmnorm)

importFrom(MASS, ginv)

importFrom(grDevices, dev.cur, dev.off, pdf, png, postscript)

importFrom(graphics, axTicks, axis, box, layout, legend, lines,
           mtext, par, title)

importFrom(utils, capture.output)

export(conditionalreturnsHMMgev)
export(conditionalreturnsHSMMgev)
export(confintHMM)
export(confintHSMM)
export(exceedanceplotHMMgev)
export(exceedanceplotHSMMgev)
export(findmleHMM)
export(findmleHMMnostarting)
export(findmleHSMM)
export(findmleHSMMnostarting)
export(generateHMM)
export(generateHSMM)
export(globaldecodeHMM)
export(globaldecodeHSMM)
export(HMMVarianceMatrix)
export(HSMMVarianceMatrix)
export(IC)
export(localdecodeHMM)
export(localdecodeHSMM)
export(plotHMMParameters)
export(plotHSMMParameters)
export(residualsHMM)
export(residualsHSMM)




