Description Usage Arguments Value

Sample from conditional distribution estimated by Kaplan-Meier estimator. Imputed values > tmax are right-censored.

1 | ```
sampleFromCondKM(U, fit, tmax = NULL, dv = 1, f = NULL)
``` |

`U` |
vector of observed times |

`fit` |
Kaplan-Meier fit as returned by survfit |

`tmax` |
largest observation of the pooled sample |

`dv` |
1 if imputing events, 0 if imputing censoring times |

`f` |
interpolated Kaplan-Meier estimate |

Random sample of survival times drawn from conditional distribution of T given T > U

mbrueckner/permGS documentation built on Aug. 7, 2017, 3:22 p.m.

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.