
importFrom("stats",  ".getXlevels", "approxfun", "as.formula", 
  "contrasts", "cov2cor", 
  "dcauchy", "dchisq", "dnorm", "dt", "integrate", "is.empty.model", 
  "lm.wfit", "model.matrix", "model.offset", "model.response", "model.weights",
  "optimize", "pf", "pnorm", "printCoefmat", "pt", "qchisq", "qf", "qnorm", 
  "qt", "quantile", "rchisq", "resid", "rnorm", "runif", "uniroot", "var",
  "residuals", "fitted", "weights", "optim", "nlminb", "splinefun",
  "delete.response", "model.frame", "na.pass", "terms", "median",
  "dbeta", "dlogis", "dunif", "pbeta", "pcauchy",
  "plogis", "punif", "rbeta", "rcauchy", "rlogis", "rt")
importFrom("graphics", "plot", "Axis", "abline", "axis", "box", "boxplot", 
  "contour", "hist", "lines", "mtext", "panel.smooth", "par", "points", "rug", 
  "strheight", "text", "title")
importFrom("grDevices", "dev.interactive", "devAskNewPage", "extendrange",
  "contourLines")
importFrom("utils", "packageDescription")
importFrom("mnormt", dmnorm, pmnorm, rmnorm, dmt, pmt, rmt, pd.solve, 
  biv.nt.prob, mom.mtruncnorm)
importFrom("numDeriv", grad, hessian)
import("methods") 
import("stats4")
  
S3method(weights, selm)
S3method(weights, mselm)
S3method(coef, selm)
S3method(coef, mselm)
S3method(plot, selm)
S3method(plot, mselm)
S3method(fitted, selm)
S3method(fitted, mselm)
S3method(residuals, selm)
S3method(residuals, mselm)
S3method(profile, selm)
S3method(confint, selm)
S3method(predict, selm)
S3method(sd, default)

export(
  T.Owen, zeta, sn.cumulants, st.cumulants,
  dsn, psn, qsn, rsn,
  dst, pst, qst, rst,
  dsc, psc, qsc, rsc,
  dmsn, pmsn, rmsn, 
  dmst, pmst, rmst,
  dmsc, pmsc, rmsc,
  makeSECdistr, modeSECdistr, 
  marginalSECdistr, affineTransSECdistr,  conditionalSECdistr, 
  dp2cp, cp2dp, dp2op, op2dp, 
  sn.infoUv, sn.infoMv, st.infoUv, st.infoMv,
  selm, MPpenalty, Qpenalty, extractSECdistr,
  selm.fit, sn.mple,  st.mple, msn.mle, msn.mple, mst.mple,
  vech, vech2mat, duplicationMatrix,
  coef.selm, plot.selm, residuals.selm, fitted.selm,
  coef.mselm, plot.mselm, residuals.mselm, fitted.mselm,
  profile.selm, confint.selm, predict.selm,
  sd.default, sd, 
  dSymmModulated, rSymmModulated, dmSymmModulated, rmSymmModulated,
  plot2D.SymmModulated,
  fournum, st.prelimFit, mst.prelimFit, galton_moors2alpha_nu, 
  pprodt2, pprodn2, qprodt2,
  tr, blockDiag,
  dsun, psun, rsun, sunMean, sunVcov, sunMardia,
  makeSUNdistr, #  plot.SUNdistr, summary.SUNdistr,
  affineTransSUNdistr, marginalSUNdistr,  conditionalSUNdistr, 
  joinSUNdistr, convolutionSUNdistr,
  convertSN2SUNdistr, convertCSN2SUNpar
  )
 
exportMethods("show", "plot", "summary", "coef",  "logLik", "residuals",
   "fitted", "mean", "vcov", "sd", "profile", "confint", "predict")

exportClasses("SECdistrUv", "SECdistrMv", "summary.SECdistrUv", 
  "summary.SECdistrMv", "selm", "mselm", "summary.selm", "summary.mselm",
  "SUNdistr", "summary.SUNdistr")
