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 provides utility functions commonly used by LuLab for data
checking, download setup, model-result extraction, and Table 1 generation.
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")
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.