#----------------------------------------------------------------------------#
#' @title summary mod
#' @description summary mod glm
#' @param mod a glm mod
#' @import stats
#' @export
summary2_glm = function(mod) {
out1 =
cbind(exp(cbind(OR = coef(mod),
confint.default(mod))),
P.value = round(coef(summary(mod))[,4],5))
return(out1)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.