A Toolbox for Public Health and Epidemiology
Bar charts with error bars.
Bland-Altman agreement plots.
Palette inspired by the British Medical Journal.
Bootstrap Confidence Intervals.
Coefficient of determination.
Cosmetics for tables of regression coefficients. Converts tables gener...
Cosmetics for summary tables Adds some cosmetics to tables of descript...
Table of descriptive statistics by categorical variable.
Constructs effect plots on for cases when the response (outcome) is a ...
Descriptive statistics for continuous variables.
Expand a data frame.
Relative and Cumulative Frequency.
Generate a data frame with estimate and bootstrap CIs.
Geometric mean.
Estimate R2 or Pseudo-R2 from regression models
Annotating a plot to display differences between groups.
Table of coefficients from generalised linear models.
Harmonic mean.
Inverse of the logit
Ranks leverage observations from Jackknife method.
Jackknife for means.
Leverage.
Goodness of fit for Logistic Regression.
Mantel-Haenszel odds ratio.
Using labels as coefficient names in tables of coefficients.
Multiple comparisons with plot.
Function to calculate OR using Wald CI, and plot trend.
Given y solve for x in a simple linear model.
Proportion, p1 from proportion p2 and OR.
Pseudo R2 (logistic regression) pseudo_r2 Calculates R2 analogues (p...
Quantile-quantile plots against the standard Normal distribution.
Ranks observations based upon influence measures on models.
Ranks observations by leverage.
Reference range (reference interval).
Relative Dispersion.
Rounding p-values.
Sum of squares for Jackknife.
Internal function to calculate descriptive statistics.
Strip plots with error bars.
A theme for huxtables This function quickly set a default style for a ...
A toolbox for making R functions and capabilities more accessible to students and professionals from Epidemiology and Public Health related disciplines. Includes a function to report coefficients and confidence intervals from models using robust standard errors (when available), functions that expand 'ggplot2' plots and functions relevant for introductory papers in Epidemiology or Public Health. Please note that use of the provided data sets is for educational purposes only.