The RateTables.jl
package is part of the JuliaSurv survival analysis suite. It provides rate tables for person-year computations, alike R's ratetable
class. It provides easy and performant querying syntax for daily hazard rates, alongside methods to extract the Life
random variable, whcih gives access to random life generations, expectations, etc. As it is registered in the general registry, you may simply install it via
] add RateTables
Look at the docs there for the list of available daily rate tables, and the proposed API. Todo :
- Add non-HMD rate tables from R packages, whith the same interface.
- Life tables with covariates (country is already somewhat of a covariate..)
- Life random variables
- better proofness to poor inputs (e.g. return missings ? return errors?)
- better docs
- better tests