# Import
#importFrom(ade4,dudi.pca,suprow,as.randtest,s.corcircle)
#importFrom(ape,read.tree,drop.tip,cophenetic.phylo)
#importFrom(gbm,gbm.perf,gbm.more,predict.gbm,)
#importFrom(biomod2, bm_BinaryTransformation, BIOMOD_LoadModels, BIOMOD_Modeling, BIOMOD_FormatingData, bm_Tuning, bm_ModelingOptions , get_predictions, get_evaluations, BIOMOD_EnsembleModeling, get_variables_importance, .transform_model.as.col)
#importFrom(terra, as.points, as.polygons, buffer, crds, expanse, freq, match, nlyr, patches, rast, rasterize, res, subset, values, xyFromCell, wrap, writeRaster) 
#importFrom(gtools, mixedsort, mixedorder)
#importFrom(PresenceAbsence, presence.absence.accuracy, optimal.thresholds, auc)
#importFrom(poibin, dpoibin, ppoibin)
#importFrom(vegan, permatswap)
#importFrom(ks, kde)
#importFrom(nabor, knn)
#importFrom(Hmisc, wtd.mean, wtd.var)
#importFrom(adehabitatHR,kernelUD)
#importFrom(adehabitatMA,ascgen)
#importFrom(ecodist,mgram)
#importFrom(dismo,convHull,circles,maxent,predict,randomPoints,gbif,evaluate)
#importFrom(parallel,makeCluster,clusterExport,parLapply,stopCluster,clusterEvalQ)
#importFrom(matrixStats,rowWeightedMeans)
importFrom(foreach,"%dopar%",foreach)
importFrom(grDevices, col2rgb, colorRampPalette, gray, grey,rgb)
importFrom(graphics, abline, arrows, barplot, boxplot, contour, hist, image, lines, pairs, par, plot.new, points, polygon, rect, segments, strwidth, text, title,axis,rug,legend)
importFrom(methods, slotNames, as)
importFrom(stats, aggregate, as.dist, binomial, coef, complete.cases, cor, density, dist, ecdf, glm, mahalanobis, median, model.frame, na.exclude, na.omit, quantile, rbinom, runif, sd, step, update, var, weighted.mean, rexp,pnorm, predict, reshape)
importFrom(utils, combn, packageVersion, setTxtProgressBar, txtProgressBar, write.table)
importFrom(classInt, classIntervals)

# Export
export(ecospat.adj.D2.glm)
export(ecospat.binary.model)
export(ecospat.boyce)
export(ecospat.calculate.pd)
export(ecospat.caleval)
export(ecospat.climan)
export(ecospat.co_occurrences)
export(ecospat.cohen.kappa)
export(ecospat.CommunityEval)
export(ecospat.cons_Cscore)
export(ecospat.Cscore)
export(ecospat.cor.plot)
export(ecospat.cv.gbm)
export(ecospat.cv.glm)
export(ecospat.cv.me)
export(ecospat.cv.rf)
export(ecospat.Epred)
export(ecospat.ESM.EnsembleModeling)
export(ecospat.ESM.EnsembleProjection)
export(ecospat.ESM.Modeling)
export(ecospat.ESM.Projection)
export(ecospat.ESM.responsePlot)
export(ecospat.ESM.threshold)
export(ecospat.ESM.VarContrib)
export(ecospat.grid.clim.dyn)
export(ecospat.mantel.correlogram)
export(ecospat.margin)
export(ecospat.max.kappa)
export(ecospat.max.tss)
export(ecospat.maxentvarimport)
export(ecospat.mdr)
export(ecospat.mess)
export(ecospat.meva.table)
export(ecospat.mpa)
export(ecospat.niche.dyn.index)
export(ecospat.niche.dynIndexProjGeo)
export(ecospat.niche.equivalency.test)
export(ecospat.niche.overlap)
export(ecospat.niche.similarity.test)
export(ecospat.niche.zProjGeo)
export(ecospat.npred)
export(ecospat.occ.desaggregation)
export(ecospat.occupied.patch)
export(ecospat.permut.glm)
export(ecospat.plot.contrib)
export(ecospat.plot.kappa)
export(ecospat.plot.mess)
export(ecospat.plot.niche)
export(ecospat.plot.niche.dyn)
export(ecospat.plot.overlap.test)
export(ecospat.plot.tss)
export(ecospat.rand.pseudoabsences)
export(ecospat.rangesize)
export(ecospat.rcls.grd)
export(ecospat.recstrat_prop)
export(ecospat.recstrat_regl)
export(ecospat.sample.envar)
export(ecospat.SESAM.prr)
export(ecospat.shift.centroids)
export(ecospat.varpart)
export(ecospat.nichePOSNB)
export(ecospat.nicheNBmean)
export(ecospat.ESM.EnsembleEvaluation)
export(ecospat.poolingEvaluation)
