Miscellaneous Functions for Survival Data

asWide | Convert an object to "wide" or "long" form. |

autoplotTAP | Arrange a survival plot with corresponding table and legend. |

autoplotTen | Generate a 'ggplot' for a 'survfit' or 'ten' object |

ci | *c*onfidence *i*ntervals for survival curves. |

comp | compare survival curves |

COV | *cov*ariance matrix for survival data |

cutp | *cut p*oint for a continuous variable in a model fit with... |

gastric | gastric cancer trial data |

gof | *g*oodness *o*f *f*it test for a 'coxph' object |

nc | Add *n*umber *c*ensored. |

plotSurv | Plot a 'Surv' object. |

predict | predicted events |

'print' methods | |

profLik | Profile likelihood for coefficients in a 'coxph' model |

rsq | r^2 measures for a a 'coxph' or 'survfit' model |

sf | *s*urvival (or hazard) *f*unction based on e and n. |

survMisc_package | Miscellaneous Functions for Survival Analysis |

ten | *t*ime, *e*vent(s) and *n*umber at risk. |

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.