import("graphics", "stats")

importFrom("sandwich", "estfun", "bread")
importFrom("zoo", "index", "zoo")

export(
  "dglogis",
  "pglogis",
  "qglogis",
  "rglogis",
  "sglogis",
  
  "glogisfit",
  "glogisfit.default",

  "breakpoints.glogisfit",  
  "refit.breakpoints.glogisfit",
  "breakdates.confint.breakpoints.glogisfit"
)

S3method("glogisfit", "default")
S3method("glogisfit", "formula")

S3method("bread", "glogisfit")
S3method("coef", "glogisfit")
S3method("estfun", "glogisfit")
S3method("hist", "glogisfit")
S3method("lines", "glogisfit")
S3method("logLik", "glogisfit")
S3method("plot", "glogisfit")
S3method("print", "glogisfit")
S3method("residuals", "glogisfit")
S3method("summary", "glogisfit")
S3method("print", "summary.glogisfit")
S3method("vcov", "glogisfit")

S3method("coef", "breakpoints.glogisfit")
S3method("fitted", "breakpoints.glogisfit")
S3method("index", "breakpoints.glogisfit")
S3method("confint", "breakpoints.glogisfit")
S3method("print", "confint.breakpoints.glogisfit")
S3method("lines", "confint.breakpoints.glogisfit")

S3method(strucchange::breakpoints, "glogisfit")
S3method(strucchange::breakdates, "confint.breakpoints.glogisfit")
