T Loux Doing R: Functions to Simplify Data Analysis and Reporting

as_perc | Format a proportion as a percentage |

cat_compare | Investigate association between two categorical variables |

cont_compare | Compare a numerical variable across levels of a categorical... |

cutp | Cut a numeric vector into quantiles |

inline_coef | Report the coefficient from a regression model inline |

inline_reg | Report the fit of a regression model inline |

inline_test | Report a hypothesis test inline |

KreateTableOne | Create a table of descriptive statistics formatted for... |

num_compare | Compare a numerical variable across levels of a categorical... |

write_int | Format an interval for display |

write_p | Format a p-value for display |

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.