export(
  as.Date.cal.yr,
  apc.frame,
  apc.fit,
  apc.plot,
  apc.lines,
 plot.apc,
lines.apc,
   pc.points,
   pc.lines,
   pc.matpoints,
   pc.matlines,
          cal.yr,
  as.Date.cal.yr,
  ccwc,
  ci.pd,
  ci.lin,
  ci.exp,
  ci.cum,
  ci.pred,
  ci.mat,
  lls,
  clear,
  contr.orth,
  contr.2nd,
  contr.cum,
  contr.diff,
  detrend,
  dur,
  erl, surv1, surv2, erl1, yll,
  effx,
  effx.match,
  float,
  print.floated,
  gen.exp,
  Icens,
  print.Icens,
  plotevent,
  fit.add,
  fit.mult,
  ftrend,
 show.apc.LCa,
      apc.LCa,
          LCa.fit,
    print.LCa,
  summary.LCa,
  predict.LCa,
     plot.LCa,
  Lexis.diagram,
  Lexis.lines,
   Life.lines,
                Lexis,
          merge.Lexis,
           plot.Lexis,
         points.Lexis,
          lines.Lexis,
         PY.ann.Lexis,
         subset.Lexis,
             "[.Lexis",
          cbind.Lexis,
          rbind.Lexis,
        summary.Lexis,
  print.summary.Lexis,
           splitLexis,
      transform.Lexis,
         levels.Lexis,
        Relevel.Lexis,
      factorize.Lexis,
             cutLexis,
           countLexis,
          stack.Lexis,
           tmat.Lexis,
          boxes.Lexis,
          boxes.matrix,
          boxes.MS,
         msdata.Lexis,
            etm.Lexis,
            crr.Lexis,
             simLexis,
         subset.stacked.Lexis,
      transform.stacked.Lexis,
           plot.pState,
          lines.pState,
  entry,
  exit,
  status,
  timeBand,
  timeScales,
  breaks,
  merge.data.frame,
  tbox,
  dbox,
  fillarr,
  boxarr,
  boxes,
  factorize,
  rm.tr,
  PY.ann,
  N2Y,
  tmat,
  nState,
  pState,
  msdata,
  etm,
  mh,
  ncut,
  nice,
  NArray,
  ZArray,
  Ns,
  Termplot,
  pctab,
  plotEst,
  pointsEst,
  projection.ip,
  linesEst,
  rateplot,
  Aplot,
  Pplot,
  Cplot,
  Relevel,
  ROC,
  twoby2,
  Wald,
  stat.table,
  clogistic)
# Import generic methods
importFrom( utils, stack )
# importFrom( base, cbind, rbind )
importFrom( splines, ns, bs )
importFrom( plyr, rbind.fill )
importFrom( cmprsk, crr)
importFrom( etm, etm )
# importFrom( mstate, msdata )
importFrom( MASS, mvrnorm )
importFrom( survival, clogit )
importFrom( numDeriv, hessian )
importFrom( Matrix, nearPD )
importFrom("grDevices", "gray", "rainbow")
importFrom("graphics", "abline", "arrows", "axis", "box", "layout",
           "lines", "locator", "matlines", "matplot", "matpoints",
           "mtext", "par", "plot", "plot.new", "plot.window", "points",
           "polygon", "rect", "rug", "segments", "strheight",
           "strwidth", "text")
importFrom("stats", ".getXlevels", "addmargins", "anova", "approx",
           "ave", "binomial", "coef", "complete.cases", "contr.sum",
           "fisher.test", "fitted", "gaussian", "glm",
           "is.empty.model", "median", "model.extract", "model.matrix",
           "model.offset", "model.response", "nlm", "pchisq", "pnorm",
           "poisson", "predict", "qnorm", "qt", "quantile", "runif",
           "termplot", "update", "vcov", "weighted.mean", "xtabs")
importFrom("utils", "flush.console", "str")

# register S3 methods
S3method(    print, Icens)
S3method(    print, floated)
S3method(     plot, apc)
S3method(    lines, apc)
S3method(     plot, Lexis)
S3method(     plot, pState)
S3method(    lines, pState)
S3method(   points, Lexis)
S3method(    lines, Lexis)
S3method(   PY.ann, Lexis)
S3method(    merge, Lexis)
S3method(   subset, Lexis)
S3method(   subset, stacked.Lexis)
S3method(      "[", Lexis)
S3method(    cbind, Lexis)
S3method(    rbind, Lexis)
S3method(  summary, Lexis)
S3method(    print, summary.Lexis)
S3method(transform, Lexis)
S3method(transform, stacked.Lexis)
S3method(   levels, Lexis)
S3method(  Relevel, Lexis)
S3method(  Relevel, factor)
S3method(  Relevel, default)
S3method(factorize, Lexis)
S3method(    stack, Lexis)
S3method(     tmat, Lexis)
S3method(    boxes, Lexis)
S3method(    boxes, matrix)
S3method(    boxes, MS)
S3method(   msdata, Lexis)
S3method(      etm, Lexis)
S3method(    print, LCa)
S3method(  summary, LCa)
S3method(  predict, LCa)
S3method(     plot, LCa)
S3method(    merge, data.frame)
S3method(    print, stat.table)
S3method(    print, clogistic)
S3method(     coef, clogistic)
S3method(     vcov, clogistic)
S3method(  as.Date, cal.yr)
