importFrom(fields, rdist)
importFrom(Matrix, determinant, sparseMatrix, Matrix, rowSums)
importFrom(rARPACK, eigs_sym)
importFrom(RColorBrewer, brewer.pal)
importFrom(vegan, spantree)
importFrom(spdep, nb2listw, knearneigh, knn2nb, tri2nb, poly2nb)
importFrom(FNN, get.knnx)
importFrom(parallel, makeCluster, detectCores, stopCluster)
importFrom(doParallel, registerDoParallel)
importFrom(foreach, foreach, "%dopar%","%do%")
importFrom(sf, st_as_sf)
importFrom(utils, capture.output)
import(ggplot2)
import(splines)
import(methods)
importFrom("stats", "median", "cor", "kmeans", "lm", "logLik","cov.wt",
             "predict", "pt", "residuals", "sd", "approx", "p.adjust",
           "density", "quantile", "rnorm", "optim", "pnorm","qnorm","dnorm",
           "optimize","dist","aggregate","approxfun","weighted.mean")
importFrom("Matrix", "sparse.model.matrix")
importFrom("utils","head")
export(besf)
export(besf_vc)
export(esf)
export(lsem)
export(lslm)
export(meigen)
export(meigen0)
export(meigen_f)
export(plot_s)
export(plot_n)
export(plot_qr)
export(predict0)
export(resf)
export(resf_qr)
export(resf_vc)
export(addlearn_local)
export(weigen)
export(coef_marginal)
export(coef_marginal_vc)
export(nongauss_y)
S3method("print","esf")
S3method("print","resf")
S3method("print","resf_vc")
S3method("print","addlearn_local")
S3method("print","resf_qr")
S3method("print","besf")
S3method("print","besf_vc")
S3method("print","lslm")
S3method("print","lsem")
S3method("print","coef_marginal")
S3method("print","coef_marginal_vc")
S3method("print","nongauss_y")
