useDynLib(interflex, .registration=TRUE)
exportPattern("^[[:alpha:]]+")
importFrom(Rcpp, evalCpp)
importFrom("grDevices", "col2rgb", "graphics.off", "pdf", "rgb")
importFrom("parallel", "detectCores", "stopCluster", "makeCluster")
importFrom("graphics", "hist", "par", "plot")
importFrom("stats", "as.formula", "density", "dnorm", "lm", "median",
             "model.matrix", "na.omit", "pt", "qt", "quantile", "sd",
             "var", "vcov")
importFrom("ggplot2","geom_errorbar", "geom_hline", "geom_line", "geom_point", "geom_rect",
           "geom_ribbon", "geom_smooth", "geom_vline", "ggplot", "ggtitle", "theme", "aes",
		   "element_text", "annotate", "xlab", "ylab", "aes_string", "coord_cartesian",
		   "facet_wrap", "facet_grid")
importFrom("mgcv","vis.gam","gam")
importFrom("sandwich","sandwich","estfun")
importFrom("pcse","pcse")
importFrom("lmtest","waldtest")
importFrom("lfe","felm")
importFrom("Lmoments","Lmoments")
importFrom("foreach","foreach","%dopar%")
importFrom("doParallel","registerDoParallel")

export(inter.raw)
export(inter.gam)
export(inter.binning)
export(inter.kernel)

