export(CopulaREMADA.beta, CopulaREMADA.norm, 
       FactorCopulaREMADA.beta, FactorCopulaREMADA.norm,
       rFactorCopulaREMADA.beta,rFactorCopulaREMADA.norm,
       hybridCopulaREMADA.beta, hybridCopulaREMADA.norm, 
       countermonotonicCopulaREMADA.beta, countermonotonicCopulaREMADA.norm, 
       rCopulaREMADA.norm, rCopulaREMADA.beta, SROC.beta, SROC.norm, SROC, 
       countermonotonicity.vuong, vuong.norm, vuong.beta,
       VineCopulaREMADA.beta, VineCopulaREMADA.norm,
        tVineCopulaREMADA.beta, tVineCopulaREMADA.norm,
       vine.vuong.norm, vine.vuong.beta,
       tvine.vuong.norm, tvine.vuong.beta,
       tvine2.vuong.norm, tvine2.vuong.beta,
       rVineCopulaREMADA.norm, rVineCopulaREMADA.beta,
       quadVineCopulaREMADA.beta,quadVineCopulaREMADA.norm,
       quadVineCopulaREMADA.norm.beta,multinomVineCopulaREMADA.norm,
       multinomVineCopulaREMADA.beta,tmultinomVineCopulaREMADA.norm,
       tmultinomVineCopulaREMADA.beta,rmultinomVineCopulaREMADA.norm,
       rmultinomVineCopulaREMADA.beta,rmultinom6dVineCopulaREMADA.norm,
       rmultinom6dVineCopulaREMADA.beta,multinom6dVineCopulaREMADA.norm,
       multinom6dVineCopulaREMADA.beta
       )
export(dbvn, dfrk, dcln, dcln90, dcln180, dcln270,
 qcondbvn, qcondfrk, qcondcln, qcondcln90, qcondcln180, qcondcln270,
  pcondbvn, pcondfrk, pcondcln, pcondcln90, pcondcln180, pcondcln270,
  rfrk, rcln, rcln90, rcln180, rcln270,
  tau2par.bvn, tau2par.frk, tau2par.cln, tau2par.cln90, tau2par.cln180,
  tau2par.cln270, cvinesim,dvinesim,dtrvinesim,dvine6dsim,
 imperfectREMADA.norm,imperfectREMADA.beta,
 imperfectCopulaREMADA.norm,imperfectCopulaREMADA.beta,
 imperfect.trivariateVineCopulaREMADA.norm.comprehensive,
 imperfect.trivariateVineCopulaREMADA.beta.comprehensive,
 imperfect.trivariateVineCopulaREMADA.norm,
 imperfect.trivariateVineCopulaREMADA.beta,
 imperfect.quadrivariateVineCopulaREMADA.norm.comprehensive,
 imperfect.quadrivariateVineCopulaREMADA.beta.comprehensive,
 imperfect.fivevariateVineCopulaREMADA.norm.comprehensive,
 imperfect.fivevariateVineCopulaREMADA.beta.comprehensive,
 rimperfect.trivariateVineCopulaREMADA.norm,
 rimperfect.trivariateVineCopulaREMADA.beta)
import(statmod)
import(matlab)
import(tensor)
import(mc2d)
importFrom("graphics", "contour", "legend", "lines", "plot", "points")
     importFrom("stats","rmultinom","cor", "dbeta", "dbinom", "dnorm", "integrate",
     "nlm", "pbeta", "pnorm", "qbeta", "qnorm", "rbinom",
     "rgamma", "rnorm", "runif", "sd", "uniroot", "var")

importFrom("stats", "cov", "factanal")
