dr | R Documentation |
dimensional reduction
dr(data, fun, ...)
data |
input data |
fun |
function to perform dimensional reduction |
... |
additional parameters passed to 'fun' |
This function call the user-provided function ('fun') to perform dimensional reduction on the input data ('data')
a DrResult object, which contains 'data' (original data), 'drdata' (coordination after dimensionality reduction), eigenvalue (standard deviation explained by each dimension) and stress (evaluate the effect of dimensionality reduction)
Guangchuang Yu
x = dr(iris[,1:4], prcomp)
autoplot(x, aes(color=.group), metadata=iris$Species)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.