Show the code
pkgs <- c("psych", "modeest", "moments", "DescTools", "vcd",
"epiDisplay", "correlation", "ggcorrplot","nortest",
"HH","coin","ggfortify", "rms","broom.mixed","glmm.hp","glmnet",
"poissonreg","gee", "geepack","survminer","ggsurvfit",
"pROC","randomizeR","blockrand"
)
for (pkg in pkgs) {
if (!require(pkg, character.only = TRUE)) {
install.packages(pkg)
}
}