Skip to contents

abslife 0.1.3

  • Fixed problem with censoring in the vignette

  • Function to calculate expected lifetime.

  • prep_ggplot function for customized plotting.

  • Changing default colors

  • Improved printing methods

abslife 0.1.2

  • “safeguard” for CDF and density functions.

abslife 0.1.1

  • plotting and summary methods for pmf and CDF.

abslife 0.1.0

  • Includes search and GitHub link to navbar.

  • Auxiliary functions for calculating the matrices necessary to calculate the standard error of the density (i.e., pmf) asymptotic covariance matrix.

abslife 0.0.96

  • When se_log_hazard is zero, the lower and upper CI for the hazard rate are fixed at zero as well. The reason for doing this is that having NAs for those quantities was causing unexpected behavior on the plots.

abslife 0.0.95

  • hazard CI fixed for graphics with multiple confidence levels as well.

  • hazard CI upper bound does not exceed 1 anymore.

  • Now we have a ci_level parameter that allows plotting multiple confidence intervals at once and changes default colors for plotting.

  • calc_cdf function also esimates the density (in addition to the CDF) and its output has been modified to a data.frame with the lifetime and the respective density and CDF evaluations.

  • summary and plot methods for the output of the calc_cdf function.

  • \(\hat{f}\) is no longer part of the output

  • \(\hat{u}\) is now referred to as risk_set

  • ralife_cdf function to sample “time to event” data has been included in the package.

abslife 0.0.94

  • time_to_event becomes lifetime

  • Logo included in the package website and README file.

  • First draft for a vignette.

  • Two new datasets: aart (for left-truncation) and mbalt (left-truncation + right-censoring).

  • event_indicator is no longer an argument of estimate_hazard().

abslife 0.0.93

  • ggplot2 included as a suggested package

  • fixed “check” for number of events

  • estimate_hazard broken into smaller functions to make it easier to mantain.

  • Included a summary function for the alife objects

  • Extended plot function to deal with multiple event types

  • rlang becomes a dependency :(

  • autoplot method for making graphs with ggplot2

abslife 0.0.92

  • Fixed the competing risks approach.

abslife 0.0.91

  • event_type parameter in the estimate_hazard function now deals with competing risks.

  • single_t_hazard internal function created. It is meant to make the code easier to debug by spliting the big estimate_hazard function into self-contained chunks.

  • ci_level now is a parameter of the estimate_hazard function.

  • First draft for the estimate_hazard function. So far, we do not have competing risks implemented.

  • calc_tp helper calculates \(\Delta\) and \(m\) based on left-truncation and time-to-event variables and outputs a sequence ranging from \(\Delta + 1\) to \(\Delta + m\).

  • Create a class alife to enable a plot method for the estimate_hazard function output.

  • Function to carry hazard estimates forward when a “zero hazard” is observed.

abslife 0.0.9

  • Only the dataset aloans has been included so far.