Nothing
#' @title list_model_classes
#'
#' @description Returns the possible model classes that `gglm` works with.
#'
#' @param ... Currently ignored. For extendability.
#' @note Note that these are not always the exact name of the class that that
#' can be used. This is due to how some methods are written in the packages
#' `gglm` imports. For example, the model class "merMod" refers to a variety of
#' model outputs from `lme4`, even when the outputted class is not called
#' "merMod".
#' @return A character vector containing the possible model classes that `gglm`
#' works with.
#' @examples
#' list_model_classes()
#' @export
list_model_classes <- function(...) {
broom_methods <- utils::.S3methods("augment", envir = asNamespace("broom"))
broom.mixed_methods <- utils::.S3methods("augment", envir = asNamespace("broom.mixed"))
methods_list <- unique(c(broom_methods, broom.mixed_methods))
model_classes <- gsub("augment\\.", "", methods_list)
return(model_classes)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.