import(stats, graphics)
export(svydesign, svrepdesign, as.svrepdesign,twophase, postStratify,
       rake, calibrate, estWeights, as.svydesign2, svyplot,svyhist,
       svyboxplot, svyby, cv, SE, deff, svycoxph, svyglm, svyquantile,
       svymean,svytotal,svyvar,svyratio,svytable,svychisq,svymle, svysmooth,
       withReplicates, hadamard, paley, is.hadamard, bootweights,
       jk1weights,jknweights, brrweights, regTermTest, degf, nonresponse, 
       sparseCells, neighbours, joinCells, compressWeights, make.formula,
       svycontrast)

S3method(svymean,survey.design)
S3method(svymean,svyrep.design)
S3method(svymean,survey.design2)
S3method(svymean,twophase)

S3method(svytotal,survey.design)
S3method(svytotal,svyrep.design)
S3method(svytotal,survey.design2)
S3method(svytotal,twophase)

S3method(svyratio,survey.design)
S3method(svyratio,svyrep.design)
S3method(svyratio,survey.design2)
S3method(svyratio,twophase)

S3method(svyvar,survey.design)
S3method(svyvar,svyrep.design)

S3method(svyquantile,survey.design)
S3method(svyquantile,svyrep.design)

S3method(svytable,survey.design)
S3method(svytable,svyrep.design)

S3method(svychisq,survey.design)
S3method(svychisq,svyrep.design)

S3method(svyglm,survey.design)
S3method(svyglm,svyrep.design)

S3method(predict, svyglm)
S3method(predict, svyratio)
S3method(predict, svyratio_separate)

S3method(svycoxph,survey.design)
S3method(svycoxph,svyrep.design)

S3method(residuals, svrepglm)
S3method(residuals, svyglm)

S3method(coef,svrepstat)
S3method(coef,svystat)
S3method(coef,svyby)
S3method(coef,svymle)


S3method(SE,default)
S3method(SE,svrepstat)
S3method(SE,svyby)
S3method(SE,svyquantile)
S3method(SE,svyratio)

S3method(vcov, svrepstat)
S3method(vcov, svyglm)
S3method(vcov, svymle)
S3method(vcov, svystat)
S3method(vcov, svyby)

S3method(logLik,svyglm)
S3method(logLik,svrepglm)

S3method(extractAIC,svyglm)
S3method(extractAIC,svrepglm)
S3method(extractAIC,svyglm)

S3method(anova,svycoxph)

S3method(svycontrast,svrepstat)
S3method(svycontrast,svystat)
S3method(svycontrast,svyby)
S3method(svycontrast,svyglm)
S3method(svycontrast,svycoxph)

S3method(image,svyrep.design)
S3method(plot,svysmooth)
S3method(print,svysmooth)
S3method(lines,svysmooth)

S3method(ftable,svrepstat)
S3method(ftable,svystat)
S3method(ftable,svyby)


S3method(weights, nonresponse)
S3method(weights, survey.design)
S3method(weights, survey_fpc)
S3method(weights, svyrep.design)

S3method(summary,survey.design)
S3method(summary,survey.design2)
S3method(summary,twophase)
S3method(summary,svyrep.design)
S3method(summary,svrepglm)
S3method(summary,svreptable)
S3method(summary,svycoxph)
S3method(summary,svyglm)
S3method(summary,svymle)
S3method(summary,svytable)

S3method(print,summary.survey.design)
S3method(print,summary.survey.design2)
S3method(print,summary.twophase)
S3method(print,summary.svyrep.design)
S3method(print,summary.svyglm)
S3method(print,summary.svytable)

S3method(print, nonresponse)
S3method(print, nonresponseSubset)
S3method(print, regTermTest)
S3method(print, svrepstat)
S3method(print, svystat)
S3method(print, survey.design)
S3method(print, survey.design2)
S3method(print, svyrep.design)
S3method(print, svyglm)
S3method(print, svymle)
S3method(print, svyquantile)
S3method(print, svyratio)
S3method(print, svyratio_separate)
S3method(print, twophase)

S3method(dim,repweights_compressed)
S3method(dim,survey.design)
S3method(dim,twophase)

S3method(dimnames,survey.design)
S3method(dimnames,svyrep.design)
S3method(dimnames,twophase)

S3method(dimnames, repweights_compressed)

S3method(degf, survey.design2)
S3method(degf, svyrep.design)

S3method(cv,default)
S3method(cv,svyratio)

S3method(deff,default)
S3method(deff,svyby)

S3method(postStratify,survey.design)
S3method(postStratify,svyrep.design)
S3method(postStratify,twophase)

S3method(calibrate,survey.design2)
S3method(calibrate,svyrep.design)
S3method(calibrate,twophase)

S3method(estWeights,data.frame)
S3method(estWeights,twophase)

S3method(compressWeights, default)
S3method(compressWeights, repweights_compressed)
S3method(compressWeights, svyrep.design)

S3method(subset,survey.design)
S3method(subset,svyrep.design)
S3method(subset,twophase)

S3method(update,survey.design)
S3method(update,svyrep.design)
S3method(update,twophase)

S3method(regcalibrate, survey.design2)
S3method(regcalibrate, svyrep.design)

S3method(na.exclude,survey.design)
S3method(na.exclude,twophase)
S3method(na.fail,survey.design)
S3method(na.fail,twophase)
S3method(na.omit,survey.design)
S3method(na.omit,twophase)

S3method(model.frame,survey.design)
S3method(model.frame,svycoxph)
S3method(model.frame,svyrep.design)
S3method(model.frame, twophase)

S3method(as.matrix,repweights)
S3method(as.matrix, repweights_compressed)
S3method(as.vector, repweights_compressed)

S3method(as.data.frame,svrepstat)
S3method(as.data.frame,svystat)

S3method(`[`, survey.design)
S3method(`[`, survey.design2)
S3method(`[`, svyrep.design)
S3method(`[`, twophase)
S3method(`[`, repweights_compressed)
S3method(`[`, nonresponse)

S3method(`[<-`, survey.design)         
         
