importFrom("lme4", "lmer", "lmerControl", "glmer", "glmerControl")
importFrom("grDevices", "dev.new", "dev.off", "recordPlot", "colorRampPalette", "heat.colors")
importFrom("graphics", "abline", "axis", "hist", "legend", "lines",
              "mtext", "par", "plot","segments","points","title", 'stripchart', 'boxplot')
importFrom("stats", ".getXlevels", "binomial", "cor", "fitted",
             "gaussian", "glm", "is.empty.model", "lm.fit", "lm.wfit",
             "model.matrix", "model.offset", "model.response",
             "model.weights", "poisson", "qqline", "qqnorm", "qt",
             "resid", "sd","lm","na.omit","t.test","residuals.glm",'interaction.plot', "quantile")
importFrom("methods","setGeneric","is")
importFrom("utils", "read.csv","write.csv","browseURL")
importFrom("Kendall","Kendall")
importFrom("gtools","even")
importFrom("rstudioapi","jobRunScript","isAvailable", "jobRemove")

export(ant)
export(assoc.gfi)
export(assoc.indices)
export(convert.socprog)
export(df.create)
export(df.ctrlFactor)
export(df.to.gbi)
export(df.to.gbi.focal)
export(df.to.mat)
export(gbi.to.df)
export(grp.to.edgl)
export(import.df)
export(import.mat)
export(mat.to.edgl)
export(mat.binaryzation)
export(met.affinity)
export(met.assortativity)
export(met.betweenness)
export(met.ci)
export(met.degree)
export(met.density)
export(met.disparity)
export(met.eigen)
export(met.ge)
export(met.geodesic)
export(met.diameter)
export(met.indegree)
export(met.instrength)
export(met.lp)
export(met.outdegree)
export(met.outstrength)
export(met.reach)
export(met.ri)
export(met.strength)
export(perm.ds.focal)
export(perm.ds.grp)
export(perm.double.focal)
export(perm.double.grp)
export(perm.net.degree)
export(perm.net.lk)
export(perm.net.lk.w)
export(perm.net.nl)
export(perm.net.nl.str)
export(perm.net.weigths)
export(sampling.effort)
export(sampling.robustness)
export(sampling.uncertainty)
export(stat.cor)
export(stat.deletions)
export(stat.deletionsPlot)
export(stat.glm)
export(stat.glmm)
export(stat.lm)
export(stat.t)
export(stat.tauKr)
export(vis.post.distribution)
export(which.metric)
export(which.protocol)
useDynLib(ANTs, .registration = TRUE)