useDynLib(gsynth, .registration=TRUE)
##exportPattern("^[[:alpha:]]+")
importFrom(Rcpp, evalCpp)
importFrom("stats", "na.omit", "quantile", "sd", "var", "cov", "lm", "predict", 
"as.formula", "pnorm", "qnorm")
importFrom("foreach","foreach","%dopar%")
importFrom("doParallel","registerDoParallel")
importFrom("future","makeClusterPSOCK")
importFrom("doRNG","registerDoRNG")
importFrom("parallel", "detectCores", "stopCluster", "makeCluster")
importFrom("ggplot2", "geom_boxplot", "geom_density", "geom_tile",
           "geom_point", "labs", "theme_bw", "scale_fill_manual", 
           "geom_hline", "geom_line", "geom_ribbon", "geom_vline",
           "ggplot", "coord_cartesian", "coord_flip", "element_text",
           "element_blank", "scale_x_continuous", "scale_y_continuous",
           "scale_linetype_manual", "scale_size_manual", "theme",
           "scale_colour_manual", "aes", "annotate", "ggtitle", "geom_rect", "scale_color_discrete", "scale_color_manual", "ggplotGrob", 
           "guide_legend", "margin", "guides","xlab","ylab","element_rect")
##importFrom("GGally", "ggpairs")
importFrom("abind", "abind")
importFrom("mvtnorm", "rmvnorm")
importFrom("MASS", "ginv")
importFrom("lfe", "felm", "getfe")
##importFrom("panelView", "panelView")



export(gsynth)
S3method("gsynth", "default")
S3method("gsynth", "formula")
S3method("print", "gsynth")
S3method("plot", "gsynth")
export(interFE)
S3method("interFE", "default")
S3method("interFE", "formula")
S3method("print", "interFE")
export(cumuEff)
##export(panelView)
