useDynLib("event",.registration=TRUE)

import(rmutil)

export(autointensity,
       coxre,print.llrf,
       cprocess,
       ehr,pp,ident,tpast,ttime,bp,tccov,tvcov,vdm,deviance.intensity,print.intensity,
       hboxcox,hburr,hcauchy,hexp,hgextval,hgamma,hggamma,hhjorth,hinvgauss,hlaplace,hlnorm,hlogis,hglogis,hnorm,hpareto,hstudent,hweibull,hgweibull,hskewlaplace,
       kalsurv,deviance.kalsurv,fitted.kalsurv,residuals.kalsurv,print.kalsurv,
       km,print.km,plot.surv,plot.intensity,plot.dist,
       pbirth,deviance.pbirth,print.pbirth)

  importFrom("grDevices", "gray")
  importFrom("graphics", "hist", "lines", "par", "plot", "text")
  importFrom("stats", "dcauchy", "dgamma", "dlnorm", "dlogis", "dnorm",
             "glm", "model.frame", "na.fail", "nlm", "pbeta", "pcauchy",
             "pgamma", "plnorm", "plogis", "pnorm", "poisson",
             "pweibull", "qnorm", "terms")
  
S3method(   deviance, intensity )
S3method(   deviance, kalsurv)
S3method(   deviance, pbirth )
S3method(   fitted, kalsurv )
S3method(  plot, km )
S3method(  plot.dist, km) 
S3method(  plot.intensity, km )
S3method(  plot, surv)
S3method(  plot, dist) 
S3method(  plot, intensity)
S3method(  print, intensity)
S3method(  print, kalsurv )
S3method(  print, km )
S3method(  print, llrf) 
S3method(  print, pbirth) 
S3method(  residuals, kalsurv )
