importFrom(copula, indepCopula, normalCopula, tCopula, claytonCopula,
frankCopula, gumbelCopula, archmCopula, indepTest, indepTestSim,
iTau, loglikCopula, fitCopula, rCopula, pCopula)

indepTest, indepTestSim, iTau, loglikCopula, fitCopula,
importFrom(stats, bw.nrd0, cor, dist, dnorm, median, optimize, pnorm,

importFrom("stats", "median", "reorder", "rexp", "runif", "pgamma", "qgamma")

export(corHMM,corDISC,corPAINT,rate.mat.maker,rate.par.drop,rate.par.eq,ancRECON,rayDISC,plotRECON, dev.raydisc, lewisMkv, readNexusMorph, ConvertPhangornReconstructions)

export(corHMM,corDISC,ancRECON,rayDISC,plotRECON, dev.raydisc, ConvertPhangornReconstructions, plotMKmodel, getRateCatMat, dropStateMatPars, equateStateMatPars, getFullMat, getStateMat4Dat, makeSimmap)
importFrom(igraph, graph_from_adjacency_matrix, layout_in_circle, vertex.attributes, plot.igraph)
importFrom("grDevices", "dev.off", "pdf", "rgb", "colorRampPalette")

export(corHMM,corDISC,ancRECON,rayDISC,plotRECON, dev.raydisc, ConvertPhangornReconstructions, plotMKmodel, getRateCatMat, dropStateMatPars, equateStateMatPars, getFullMat, getStateMat4Dat, makeSimmap, fitCorrelationTest)
importFrom(phangorn, parsimony, phyDat, acctran, CI)

importFrom("stats", "cor", "mad", "median", "pchisq", "pnorm", "rnorm","var")

importFrom("igraph", "leading.eigenvector.community", "layout.kamada.kawai", "delete.edges", "E", "graph.adjacency")

export(rcounts, rcounts.reg, unstructured, c2pc, pc2c)

importFrom("stats", "aggregate", "as.formula", "cor", "shapiro.test",

importFrom(stats, pbinom, qbinom, phyper, qhyper, pbeta, qbeta, pchisq, pnorm, qnorm, rnorm, runif)

useDynLib(corpus, .registration = TRUE, .fixes = "C_")

## export(text) # don't export, clashes with graphics::text

export(assoc_Zi.Zj, assoc_Zi.ZjR, assoc_Zi.ZjY, assoc_ZiR.ZjR, assoc_ZiR.ZjY, assoc_ZiY.ZjY, assoc_comb)

importFrom("stats", "cor", "pt", "qt", "setNames", "var", "lm",

importFrom("stats", "pnorm", "dnorm", "qnorm", "dt", "pt", "qt")

importFrom("graphics", "plot", "abline", "points", "par", "polygon",
"title", "axis", "box", "lines", "plot.new", "plot.window")