mdsPlot {statTarget} | R Documentation

## MDSplot in statTarget

### Description

Multi-dimensional scaling plot of proximity matrix from randomForest.

### Usage

    mdsPlot(rForest,pimpModel,Labels = TRUE,slink = FALSE,
    slinkDat, ...)

### Arguments

`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

### Value

The output of cmdscale on 1 - rf$proximity is returned invisibly.

### Author(s)

Hemi Luan, hemi.luan@gmail.com

### See Also

MDSplot

### Examples

    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)

[Package statTarget version 1.24.0 Index]