useDynLib(CARBayes, .registration = TRUE)
export(
	 highlight.borders,
	 MVS.CARleroux,
     S.CARbym, 
     S.CARdissimilarity,
     S.CARleroux,
     S.CARlocalised,
	 S.CARmultilevel,
	 S.glm,
	 S.RAB
     )
S3method(print, CARBayes)
S3method(fitted, CARBayes)
S3method(model.matrix, CARBayes)
S3method(residuals, CARBayes)
S3method(logLik, CARBayes)
import(CARBayesdata)
import(mapview)
import(MASS)
import(parallel)
import(Rcpp)
import(sf)
importFrom(coda, mcmc, as.mcmc.list, geweke.diag, effectiveSize, gelman.diag)
importFrom(dplyr, mutate)
importFrom(GGally, ggpairs)
importFrom(glmnet, glmnet, predict.glmnet)
importFrom(igraph, graph.adjacency, shortest.paths)
importFrom(MCMCpack, riwish)
importFrom(RColorBrewer, brewer.pal)
importFrom(spam, as.spam,  chol.spam, diag, rowSums)
importFrom(spdep, mat2listw, n.comp.nb, moran.mc)
import(stats)
importFrom(truncnorm, rtruncnorm, dtruncnorm)
importFrom(utils, setTxtProgressBar, txtProgressBar)
