importFrom("graphics", "abline", "lines", "matplot", "par", "persp",
importFrom("stats", "AIC", "as.formula", "binomial", "chisq.test",
"complete.cases", "cor", "cor.test", "dbinom", "density",
"dnorm", "glm", "glm.fit", "integrate", "median",
"model.matrix", "na.exclude", "nlminb", "optim", "pchisq",
"plogis", "pnorm", "ppoints", "qchisq", "qlogis",
"quantile", "rbinom", "resid", "rlnorm", "rlogis", "rnorm",
"runif", "sd", "terms", "update", "var",
"anova", "coef", "fitted", "logLik", "residuals", "simulate", "vcov")

function(lib, pkg) library.dynam("ltsa", pkg, lib)

importFrom("stats", "ARMAtoMA", "convolve", "fft", "rnorm", "toeplitz")

importFrom("stats", "aggregate", "approxfun", "coef", "deviance","dist", "lm", "na.omit", "nobs", "runif", "sd", "var")

importFrom("stats", "mad", "median", "qchisq", "qnorm", "quantile", "rnorm", "var","IQR","sd")

export(day, yday, mday, "day<-", "yday<-", "mday<-")
export(eseconds, eminutes, ehours, edays, eweeks, eyears, dseconds, dminutes, dhours, ddays, dweeks, dyears)
export(ymd_hms, ymd_hm, ymd_h, dmy_hms, dmy_hm, dmy_h, mdy_hms, mdy_hm, mdy_h, ydm_hms, ydm_hm, ydm_h)
export(seconds, minutes, hours, days, weeks, months, years, y, m, w, d)
export(pretty.dates, pretty.unit, pretty.sec, pretty.min, pretty.hour, pretty.day, pretty.month, pretty.year, pretty.point)

export(eseconds, eminutes, ehours, edays, eweeks, eyears, dseconds, dminutes, dhours, ddays, dweeks, dyears, dmilliseconds, emilliseconds, dmicroseconds, emicroseconds, dnanoseconds, enanoseconds, dpicoseconds, epicoseconds)
export(seconds, minutes, hours, days, weeks, years, y, m, w, d, milliseconds, microseconds, microseconds, nanoseconds, picoseconds)

export(ymd_hms, ymd_hm, ymd_h, dmy_hms, dmy_hm, dmy_h, mdy_hms, mdy_hm, mdy_h, ydm_hms, ydm_hm, ydm_h, ymdThms)

importFrom("stats", "C", "anova", "cov", "loadings", "pchisq",

importFrom("stats", "median", "quantile", "sd", "var", "as.formula", "model.frame", "model.matrix")

importFrom("stats", "median", "rgamma", "quantile", "sd", "var", "as.formula", "model.frame", "model.matrix")