R/anteo.R

#' anteo
#' 
#' The anteo package offers tools that work with Group LASSO (from the \code{grplasso} package, 
#' random forest objects (from the \code{randomForest} package) and 
#' conditional inference forest objects (from the \code{party} package). 
#' \itemize{
#'   \item \code{forest_viz} a simple visualization tool for looking at the relationships
#'          of the n most imporant variables and the outcome (for \code{randomForest})
#'   \item \code{cforest_viz} a simple visualization tool for looking at the relationships
#'          of the n most imporant variables and the outcome (for \code{cforest})
#' }
#' 
#' There are also two simple \code{ggplot2} themes:
#' \itemize{
#'   \item \code{theme_anteo} 
#'   \item \code{theme_anteo_wh} 
#' }
#' 
#' Overall, the package helps with the exploration of large data sets.
#' 
#' Note: anteo means to prevent or go before in latin.
#' 
#' @examples
#' \dontrun{
#' 
#' library(anteo)
#' library(randomForest)
#' library(party)
#' library(grplasso)
#' 
#' ## Random Forest
#' fit = randomForest(outcome ~ ., data=data)
#' forest_viz(fit)
#' 
#' ## Conditional Inference Forest
#' fit2 = cforest(outcome ~ ., data=data)
#' cforest_viz(fit2, data = data, outcome = "outcome")
#' 
#' ## Group LASSO
#' fit = cv_grplasso(outcome ~., .data=data, model = LinReg(), lambda = seq(from=50001, to=1, by=-5000))
#' fit 
#' 
#' }
#' 
#' @docType package
#' @name anteo
NULL
TysonStanley/anteo documentation built on May 9, 2019, 5:18 p.m.