R/importance.R

Defines functions importance

Documented in importance

# Copyright 2019 Robert Carnell

#' Generic Importance Plot
#'
#' @param model_final a model object
#' @param ... arguments passed to other methods
#'
#' @return an object of type \code{importance_plot}
#' \item{type}{the type of importance plot}
#' \item{data}{the importance data required for the plot}
#' @export
#'
#' @seealso \code{\link{importance.glm}} \code{\link{importance.lm}} \code{\link{importance.cv.glmnet}} \code{\link{importance.survreg}}
importance <- function(model_final, ...)
{
  UseMethod("importance", model_final)
}

Try the tornado package in your browser

Any scripts or data that you put into this service are public.

tornado documentation built on May 29, 2024, 2:01 a.m.