cforest_viz: Visualization of the Variables of Importance for cforest

Description Usage Arguments

Description

Visualizes–using ggplot2–the relationship of n important variables in a random forest with the outcome with a loess curve (if continuous). You can easily add more ggplot2 functions to the plot to adjust it as desired. The default theme is this package's 'theme_anteo'.

Usage

1
cforest_viz(obj, data, outcome, n = 10)

Arguments

obj

a randomForest object

data

the data.frame object from which the randomForest object was made

outcome

the name of the outcome variable in quotes (e.g., "bmi")

n

the number of important variables


TysonStanley/anteo documentation built on May 9, 2019, 5:18 p.m.