Variable Importance (VIMP) data object

## ------------------------------------------------------------
## classification example
## ------------------------------------------------------------
## -------- iris data
# rfsrc_iris <- rfsrc(Species ~ ., data = iris)
data(rfsrc_iris, package="ggRandomForests")
gg_dta <- gg_vimp(rfsrc_iris)
plot(gg_dta)

plot of chunk gg_vimp.rfsrc

## ------------------------------------------------------------
## regression example
## ------------------------------------------------------------
## Not run: 
##D ## -------- air quality data
##D # rfsrc_airq <- rfsrc(Ozone ~ ., airquality)
##D data(rfsrc_airq, package="ggRandomForests")
##D gg_dta <- gg_vimp(rfsrc_airq)
##D plot(gg_dta)
## End(Not run)

## -------- Boston data
data(rfsrc_Boston, package="ggRandomForests")
gg_dta <- gg_vimp(rfsrc_Boston)
plot(gg_dta)

plot of chunk gg_vimp.rfsrc

## Not run: 
##D ## -------- mtcars data
##D data(rfsrc_mtcars, package="ggRandomForests")
##D gg_dta <- gg_vimp(rfsrc_mtcars)
##D plot(gg_dta)
## End(Not run)
## ------------------------------------------------------------
## survival example
## ------------------------------------------------------------
## Not run: 
##D ## -------- veteran data
##D data(rfsrc_veteran, package="ggRandomForests")
##D gg_dta <- gg_vimp(rfsrc_veteran)
##D plot(gg_dta)
## End(Not run)

## -------- pbc data
data(rfsrc_pbc, package="ggRandomForests")
gg_dta <- gg_vimp(rfsrc_pbc)
plot(gg_dta)
## Warning: Stacking not well defined when ymin != 0

plot of chunk gg_vimp.rfsrc

# Restrict to only the top 10.
gg_dta <- gg_vimp(rfsrc_pbc, n_var=10)
plot(gg_dta)

plot of chunk gg_vimp.rfsrc