import(ggplot2)
importFrom("stats", "fitted", "reformulate", "terms", "model.frame", "model.response", 
           "model.matrix", "lm", "glm", "aggregate", "var", "cor", "median", "setNames",
           "as.formula", "relevel")
importFrom("utils", "combn", "data")
importFrom("grDevices", "col2rgb", "hcl")

export(bal.tab, bal.plot, love.plot, f.build, splitfactor, 
       unsplitfactor, get.w)
S3method(print, bal.tab)
S3method(print, bal.tab.subclass)
S3method(print, bal.tab.cluster)
S3method(print, bal.tab.imp)
S3method(print, bal.tab.imp.cluster)
S3method(print, bal.tab.multi)
S3method(plot, bal.tab)
S3method(bal.tab, matchit)
S3method(bal.tab, ps)
S3method(bal.tab, mnps)
S3method(bal.tab, Match)
S3method(bal.tab, CBPS)
S3method(bal.tab, formula)
S3method(bal.tab, data.frame)
S3method(bal.tab, ebalance)
S3method(bal.tab, ebalance.trim)
S3method(bal.tab, optmatch)
S3method(bal.tab, weightit)
S3method(get.w, matchit)
S3method(get.w, ps)
S3method(get.w, mnps)
S3method(get.w, Match)
S3method(get.w, CBPS)
S3method(get.w, npCBPS)
S3method(get.w, ebalance)
S3method(get.w, ebalance.trim)
S3method(get.w, optmatch)
S3method(get.w, weightit)