importFrom(utils, read.table, write.table, head, tail)

import(RPostgreSQL) ## this should not all be needed, but parts for setClass "TSPostgreSQLConnection"

importFrom(KFAS, SSMarima, SSModel, artransform, fitSSM, SSMcustom, KFS)
importFrom("stats", "lm", "logLik", "na.omit", "optim", "predict","var")

importFrom(forecast, auto.arima, forecast, BoxCox.lambda, BoxCox, InvBoxCox, ndiffs, nsdiffs)
importFrom("stats", "diffinv", "frequency", "poly", "ts")

import(RSQLite) ## this should not all be needed, but parts for setClass "TSSQLiteConnection"

import("RSQLite") ## this should not all be needed, but parts for setClass "TSSQLiteConnection"

importFrom("stats", "quantile", "ts", "tsp", "start")
export(unicor, crscor, period, fftper, pdfunc, klinfo, boxcox, lsqr, armaimp,
marspc, arfit, marfit, marlsq, lsar, lsar.chgpt, tsmooth, armafit, polreg,
trend, season, tvvar, tvar, tvspc, ngsmth, simssm, ngsim)

importFrom("stats", "quantile", "ts", "tsp", "start", "na.omit")
export(unicor, crscor, period, fftper, pdfunc, klinfo, boxcox, lsqr, armachar,
marspc, arfit, marfit, marlsq, lsar, lsar.chgpt, tsmooth, armafit, armafit2,
polreg, trend, season, tvvar, tvar, tvspc, ngsmth, simssm, ngsim, pfilter,

export(diss.ACF, diss.PACF,  diss.AR.PIC, diss.AR.MAH, diss.PER, diss.INT.PER, diss.SPEC.LLR, diss.SPEC.GLK, diss.SPEC.ISD, diss.AR.LPC.CEPS, diss.CORT, diss.PRED, pvalues.clust, diss.DWT, diss.COR, multidiss.AR.LPC.CEPS, multidiss.AR.PIC, multidiss.PRED, cluster.evaluation)

export(diss.ACF, diss.PACF,  diss.AR.PIC, diss.AR.MAH, diss.PER, diss.INT.PER, diss.SPEC.LLR, diss.SPEC.GLK, diss.SPEC.ISD, diss.AR.LPC.CEPS, diss.CORT, diss.PRED, pvalues.clust, diss.DWT, diss.COR, cluster.evaluation, diss, diss.MINDIST.SAX, PAA, convert.to.SAX.symbol, MINDIST.SAX, SAX.plot, diss.CDM, diss.CID, diss.NCD, loo1nn.cv, diss.EUCL, diss.DTWARP, diss.FRECHET, diss.PDC)

importFrom("stats", "acf", "approx", "ar", "ar.ols", "arima",
"as.dist", "cor", "cov", "density", "diffinv", "dist",
"dnorm", "hclust", "integrate", "is.mts", "is.ts", "optim",
"pacf", "pchisq", "qnorm", "rnorm", "sd", "spec.pgram",