#' @title FUNCTION_TITLE
#' @description FUNCTION_DESCRIPTION
#' @param formula PARAM_DESCRIPTION
#' @param data PARAM_DESCRIPTION
#' @return OUTPUT_DESCRIPTION
#' @details DETAILS
#' @examples
#' \dontrun{
#' if(interactive()){
#' #EXAMPLE1
#' }
#' }
#' @seealso
#' \code{\link[lme4]{glmer}}
#' \code{\link[sjPlot]{tab_model}}
#' @rdname fit_models
#' @export
#' @importFrom lme4 glmer
#' @importFrom sjPlot tab_model
fit_models <- function(formula, data) {
fit.glmm <- lme4::glmer(formula,
data = data,
family = "poisson",
offset = log(tj))
sjPlot::tab_model(fit.glmm)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.