Supporting Functions Maintained by Zhen Lu

Miscellaneous functions commonly used by LuLab. This package aims to help more researchers on epidemiology to perform data management and visualization more efficiently.


lulab.utils

Lifecycle: stable

lulab.utils provides utility functions commonly used by LuLab for data checking, download setup, model-result extraction, and Table 1 generation.

Installation

install.packages(
  "lulab.utils",
  repos = c("https://leslie-lu.r-universe.dev", "https://cloud.r-project.org")
)

Development version:

# install.packages("devtools")
devtools::install_github("Leslie-Lu/lulab.utils")

Main functions

  • Table1(): create a stratified Table 1 and save Table1.xlsx.
  • extract_logistic_model(): extract formatted logistic-regression results.
  • check_cha(): summarize missing-like values in a column.
  • test_mirror(): compare CRAN mirror download speed.
  • check_wget() and use_wget(): check and configure wget on Windows.
  • round2(): round halves away from zero.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("lulab.utils")

1.0.2 by Zhen Lu, 4 months ago


https://github.com/Leslie-Lu/lulab.utils


Report a bug at https://github.com/Leslie-Lu/lulab.utils/issues


Browse source code at https://github.com/cran/lulab.utils


Authors: Zhen Lu [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports boot, dplyr, httr2, magrittr, openxlsx, rappdirs, stringr, table1, utils

Suggests knitr, rmarkdown, roxygen2, spelling, testthat


See at CRAN