Using the rUM Package for Reproducible Medical Research
Raymond Balise, PhD
Gabriel Odom, PhD ThD
Kyle Grealis, (Almost) MS
Francisco Cardozo, (ABD) PhD
rUM is an R package designed to help lighten the memory load for people who want to use R Markdown or Quarto to support reproducible (biomedical) research.
tidyverse
/tidymodels
conflicted
and tidyverse
packages
conflicted
options?tidyverse
quietly?dplyr
summary note?tidymodels
tidymodels
functions?conflicted
and tidyverse
packagestidymodels
rUM also provides a research project template.
csl: the-new-england-journal-of-medicine.csl
which is the reference style template for The New England Journal of Medicine.
Analyses were conducted with
`r stringr::word(R.Version()$version.string, 1, 3)`
with the tidyverse (`r packageVersion(“tidyverse”)`
), rUM (`r packageVersion(“rUM”)`
), table1 (`r packageVersion(“table1”)`
) packages used to preprocess and summarize data.[@R-base; @R-tidyverse; @tidyverse2019; @R-rUM; @R-table1]
Analyses were conducted with R version 4.2.0 with the tidyverse (1.3.2), rUM (1.0), table1 (1.4.2) packages used to preprocess and summarize data.1–5
References can then be added to the Rmd or qmd file by emulating what is in the methods section and/or using the point-and-click tools in RStudio’s Visual editor.