mdsPlot {statTarget} | R Documentation |
Multi-dimensional scaling plot of proximity matrix from randomForest.
mdsPlot(rForest,pimpModel,Labels = TRUE,slink = FALSE, slinkDat, ...)
rForest |
An object of class randomForest that contains the proximity component from statTarget_rForest function. |
pimpModel |
An object of permutation-based variable Gini importance measures (PIMP-algorithm) from statTarget_rForest function. |
Labels |
Labels is TRUE for visible the sample name in the figure else with the index for class. |
slink |
Logical indicating if slinkDat is active for extenal classID. |
slinkDat |
A data frame for the extenal classID. |
... |
A generic MDSplot function in randomForest package |
The output of cmdscale on 1 - rf$proximity is returned invisibly.
Hemi Luan, hemi.luan@gmail.com
MDSplot
datpath <- system.file('extdata',package = 'statTarget') statFile <- paste(datpath,'data_example.csv', sep='/') getFile <- read.csv(statFile,header=TRUE) rFtest <- rForest(getFile,ntree = 10,times = 5) mdsPlot(rFtest$randomForest,rFtest$pimpTest)