breslow function

Breslow estimator object

Breslow estimator object

Stores one or more survival stepfunctions of the Kaplan-Meier and Breslow type. class

Slots

  • time:: Object of class "vector". The time points at which the function starts, jumps or ends.
  • curves:: Object of class "matrix". The values of the curve at each time point. Note that the function is left-continuous. Curves are stored as a matrix of dimension (# curves) x (# timepoints).

Methods

  • "[": (breslow): Coerces the object to a matrix (as as.matrix) and selects rows and/or columns.
  • "[[": (breslow): Selects a subset of the curves.
  • as.data.frame: (breslow): Returns the "curves" slot together with the "time" slot in a data.frame.
  • as.list: (breslow): Coerces the object to a list.
  • as.matrix: (breslow): Returns the "curves" slot with the "time" slot as column names.
  • plot: (breslow): Straightforward plotting (all curves in one plot).
  • show: (breslow): Summarizes the dimensions of the object.
  • survival: (breslow): Takes a second argument (time). Extracts the value of the survival curve(s) at any time point.

Details

Breslow objects are generally created by the penalized function and related functions.

Author(s)

Jelle Goeman: j.j.goeman@lumc.nl

See Also

penalized.

  • Maintainer: Jelle Goeman
  • License: GPL (>= 2)
  • Last published: 2022-04-23

Useful links