R bloggers

Elegant regression results tables and plots in R: the finalfit package

FavoriteLoadingAdd to favorites

The finafit package brings together the day-to-day functions we use to generate final results tables and plots when modelling. I spent many years repeatedly manually copying results from R analyses and built these functions to automate our standard healthcare data workflow. It is particularly useful when undertaking a large study involving multiple different regression analyses. When combined with RMarkdown, the reporting becomes entirely automated. Its design follows Hadley Wickham’s tidy tool manifesto. Installation and Documentation It lives on GitHub. You can install finalfit from github with: # install.packages(“devtools”) devtools::install_github(“ewenharrison/finalfit”) It is recommended that this package is used together with dplyr, which is a dependent. Some of the functions require rstan and boot. These have been left as Suggests rather than Depends to avoid unnecessary installation. If needed, they can be installed in the normal way: install.packages(“rstan”) install.packages(“boot”) To install off-line…
Original Post: Elegant regression results tables and plots in R: the finalfit package