powered by
Generates a reference distribution in PCA space by sampling from uniform distributions with ranges determined by the PCA-transformed data.
ref_dist_pca(df)
A scaled matrix containing the reference distribution in PCA space
data.frame or matrix of the original dataset
Generate Reference Distribution using PCA
# \donttest{ data(iris) df <- iris[,1:4] ref <- ref_dist_pca(df) # }
Run the code above in your browser using DataLab