export("csvy", "block.Ord")
#export("csvyby", "csvyglm", "block.Ord")
#?add CIC in cgam and inherit
#?block.Ave
import("survey", "cgam")
#import("survey")
#importFrom("cgam", "conc", "conv", "decr", "decr.conc", "decr.conv", "incr", "incr.conc", "incr.conv", "plotpersp")
importFrom("coneproj", "coneA", "coneB")
importFrom("MASS", "ginv", "mvrnorm")
importFrom("Matrix", "bdiag")
#importFrom("cgam", "incr", "decr", "plotpersp")
importFrom("purrr", "map_dbl", "map", "map_lgl")
importFrom("tidyselect", "all_of")
importFrom("dplyr", "select")
importFrom("stats", "pbeta", "fitted", "gaussian", "median",
            "confint", "na.pass", "resid", "update", "weights",
           "model.frame", "model.matrix", "model.response", "rnorm",
           "as.formula", "sd", "make.link", "qnorm", "vcov", "aggregate",
           "coef", "delete.response", "formula", "predict", "ftable",
           "printCoefmat", "terms")
importFrom("Matrix", "bdiag", "rankMatrix")
importFrom("graphics", "barplot", "par", "persp", "grid", "legend", "plot", "points", "segments")
importFrom("grDevices", "topo.colors", "cm.colors", "heat.colors", "terrain.colors", "rgb","col2rgb")

S3method(fitted, csvy)
S3method(print, csvy)
#S3method(print, csvyby)
S3method(plotpersp, csvy)
#S3method(plotpersp, csvyglm)
S3method(summary, csvy)
#S3method(summary, csvyby)
#S3method(summary, csvyglm)
S3method(print, summary.csvy)
#S3method(print, summary.csvyglm)
S3method(predict, csvy)
#S3method(predict, csvyglm)
S3method(confint, csvy)
#S3method(confint, csvyglm)
#S3method(confint, csvyby)
S3method(vcov, csvy)
#S3method(vcov, csvyby)
#S3method(vcov, csvyglm)
S3method(coef, csvy)
#S3method(coef, csvyglm)
#S3method(coef, csvyby)
S3method(svycontrast, csvy)
S3method(SE, csvy)
S3method(ftable, csvy)
#S3method(dotchart, csvy)
S3method(deff, csvy)
S3method(barplot, csvy)
