mds | R Documentation |
Multidimensional scaling of random forest proximities.
mds(x, dimensions = 2, idx = NULL)
## S4 method for signature 'RandomForest'
mds(x, dimensions = 2, idx = NULL)
## S4 method for signature 'list'
mds(x, dimensions = 2, idx = NULL)
## S4 method for signature 'Analysis'
mds(x, dimensions = 2, idx = NULL)
x |
S4 object of class |
dimensions |
The number of dimensions by which the data are to be represented. |
idx |
sample information column to use for sample names. If |
A tibble containing the scaled dimensions.
library(metaboData)
x <- analysisData(abr1$neg[,200:300],abr1$fact) %>%
occupancyMaximum(cls = 'day') %>%
transformTICnorm()
rf <- randomForest(x,cls = 'day')
mds(rf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.