useDynLib(CARBayesST, .registration = TRUE)
export(
     MVST.CARar,
     ST.CARlinear,
     ST.CARar,
     ST.CARanova,
     ST.CARadaptive,
     ST.CARclustrends,
     ST.CARlocalised,
     ST.CARsepspatial,
     W.estimate
)

S3method(print, CARBayesST)
S3method(fitted, CARBayesST)
S3method(model.matrix, CARBayesST)
S3method(coef, CARBayesST)
S3method(residuals, CARBayesST)
S3method(logLik, CARBayesST)

import(CARBayesdata)
importFrom(coda, mcmc, geweke.diag, effectiveSize, HPDinterval, mcmc.list, gelman.diag)
importFrom(dplyr, summarise, mutate, group_by)
importFrom(GGally, ggpairs)
import(ggplot2)
importFrom(gridExtra, grid.arrange)
importFrom(gtools, rdirichlet, ddirichlet)
import(leaflet)
import(MASS)
importFrom(matrixStats, rowMaxs)
importFrom(MCMCpack, riwish)
import(Rcpp)
import(sf)
import(spam)
importFrom(spdep, mat2listw, moran.mc, n.comp.nb, nb2listw, nb2mat, poly2nb)
import(stats)
importFrom(truncdist, rtrunc)
importFrom(truncnorm, rtruncnorm, dtruncnorm)
importFrom(utils, setTxtProgressBar, txtProgressBar)



