## regular functions:

 export("pHAC",
	"emp.copula",
	"emp.copula.self",
	"estimate.copula",
	"tau2theta",
	"theta2tau",
	"phi",
	"phi.inv",
	"dHAC",
	"rHAC",
	"tree2str",
	"get.params",
	"hac.full",
	"hac",
	"copMult",
	"to.logLik",
	"par.pairs",
	"hac2nacopula",
	"nacopula2hac"
)

# generics:

S3method(aggregate, hac)

S3method(plot, hac)
S3method(print, hac)

export("hac", "aggregate.hac", "plot.hac", "print.hac")

# imports:


importClassesFrom("copula", acopula)

importFrom("copula", copAMH, copClayton, copFrank, copGumbel, copJoe, onacopulaL, rnacopula, fitCopula, gumbelCopula, claytonCopula, frankCopula, joeCopula, amhCopula, dsumSibuya)

importFrom("graphics", plot, symbols, text, lines)

importFrom("stats", aggregate, ecdf, dbeta, pbeta, dcauchy, pcauchy, dchisq, pchisq, df, pf, dgamma, pgamma, dlnorm, plnorm, dnorm, pnorm, qnorm, dt, pt, dexp, pexp, dweibull, pweibull, na.omit, D, deriv, constrOptim, optim, optimise)