Nothing
#' A printing method for model objects
#'
#' @param x The object to print
#' @param ... Not used, but here for consistency with generic print()
#' @export
print.model_object <- function(x, ...) {
model <- x
response_name <- as.character(deparse(response_var(model)))
explanatory_names <- explanatory_vars(model)
plural <- ifelse(length(explanatory_names) > 1, "s", "")
str <- glue::glue("A trained model relating the response variable \"{response_name}\"\nto explanatory variable{plural} {paste0('\"', explanatory_names, '\"', collapse=' & ')}.\n\nTo see relevant details, use model_eval(), conf_interval(),\nR2(), regression_summary(), anova_summary(), or model_plot(),\nor the native R model-reporting functions.")
cat(str)
invisible(model)
}
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.