Emily C. Zabor's functions

bycont | Table of one or more categorical variables by a single... |

compute_age | Calculate age in years based on two dates and their... |

ez_pal | A custom color scale made by Emily Zabor, with help from... |

lowerchar | Convert to lowercase |

msk_palette | MSK branded colors palette generator |

msk_palettes | Complete list of MSK branded color palettes |

mvcoxres | Format resuls from multivariable Cox regression model |

mvcrrres | Format resuls from multivariable competing risks regression... |

mvlmres | Format resuls from multivariable linear regression model |

mvlogitres | Format resuls from multivariable logistic regression model |

ph2simonApp | Interactive Simon's 2-stage Shiny app |

scale_ez | Discrete color & fill scales based on the ez palette |

sdp | Get p-value from survdiff() |

tab1 | Table 1 |

tab1_re | Table 1 with random effects model p-values |

tabna | Cross-tabulation with 'useNA = "ifany"' |

theme_ezbasic | Basic theme preferences for ggplot |

todate | Convert to date format |

uvcoxph | Table of univariable Cox regression results |

uvcrr | Table of univariable competing risks regression results |

uvlm | Table of univariable linear regression results |

uvlogit | Table of univariable logistic regression results |

uvsurv | Table of univariable survival analysis results |

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.