Description Details Slots Methods Author(s) See Also

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

Breslow objects are generally created by the `penalized`

function and related functions.

`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).

- "["
(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.

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

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.