Description Usage Arguments Value Author(s)

Calculates the survival probability for censoring i.e. P(C > tt) where C is censoring; used in inverse probability of censoring weights (IPCW). This function is called by Wi.FUN; this function should not be called on its own.

1 |

`tt` |
the time (or vector of times) at which the survival probability should be estimated. |

`data` |
n by k matrix, where k>=2. A data matrix where the first column is XL = min(TL, C) where TL is the time of the long term event, C is the censoring time, and the second column is DL =1*(TL<C) |

`type` |
type sent to survfit function, default is "fl". |

`weight.given` |
a weight to be used in estimation. |

survival probability for censoring at time tt

Layla Parast

landpred documentation built on May 19, 2017, 7 a.m.

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.