rebuild_cache_datasets(set = NA, save = TRUE, pth, ...)
ggRandomForests
operates directly on randomForestSRC
objects.
We cache computationally intensive randomForestSRC
objects to improve
the ggRandomForests
examples, diagnostics and vignettes run times. The
set of precompiled randomForestSRC
objects are stored in the package
data subfolder, however version changes in the dependant packages may break
some functionality. This function was created to help the package developer
deal with thoses changes. We make the function available to end users to
create objects for further experimentation.There are five cached data set types: '
rfsrc_data
-randomForestSRC::rfsrc
objects.varsel_data
-randomForestSRC::var.select
minimal depth variable
selection objects.interaction_data
-randomForestSRC::find.interaction
minimal depth,
pairwise variable interaction matrices.partial_data
-randomForestSRC::plot.variable
objects
(partial=TRUE
) for partial variable dependence.partial_coplot_data
-randomForestSRC::plot.variable
objects
(partial=TRUE
) for partial variable dependence.For the following data sets: #'
_iris
- Theiris
data set._airq
- Theairquality
data set._mtcars
- Themtcars
data set._Boston
- TheBoston
housing data set (MASS
package)._pbc
- Thepbc
data set (randomForestSRC
package)._veteran
- Theveteran
data set (randomForestSRC
package).iris
airq
mtcars
MASS::Boston
randomForestSRC::pbc
randomForestSRC::veteran
rfsrc_data
varsel_data
interaction_data
partial_data
partial_coplot_data