useDynLib("ahaz")
import("survival")
import("Matrix")

export(ahaz,ahazpen,tune.ahazpen,ahazisis,
       ahaz.adjust,ahaz.partial,lasso.control,
       sscad.control,cv.control,bic.control)

S3method(`[`, "ahazpen")
S3method("plot","ahaz")
S3method("predict","ahaz")
S3method("coef","ahaz")
S3method("vcov","ahaz")
S3method("residuals","ahaz")
S3method("summary","ahaz")
S3method("print","summary.ahaz")
S3method("print","ahaz")
S3method("print","ahazpen")
S3method("plot","ahazpen")
S3method("predict","ahazpen")
S3method("coef","ahazpen")
S3method("plot","tune.ahazpen")
S3method("print","tune.ahazpen")
S3method("predict","tune.ahazpen")
S3method("coef","tune.ahazpen")
S3method("plot","cumahaz")

importFrom("graphics", "abline", "axis", "matplot", "mtext",
           "segments")
importFrom("methods", "new")
importFrom("stats", "approx", "coef", "pchisq", "pnorm", "predict",
           "printCoefmat", "sd", "stepfun")
