ref_dist_pca | R Documentation |
Generates a reference distribution in PCA space by sampling from uniform distributions with ranges determined by the PCA-transformed data.
ref_dist_pca(df)
df |
data.frame or matrix of the original dataset |
Generate Reference Distribution using PCA
A scaled matrix containing the reference distribution in PCA space
data(iris)
df <- iris[,1:4]
ref <- ref_dist_pca(df)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.