ref_dist_pca: Generate PCA-based reference distribution

View source: R/ref_dist.R

ref_dist_pcaR Documentation

Generate PCA-based reference distribution

Description

Generates a reference distribution in PCA space by sampling from uniform distributions with ranges determined by the PCA-transformed data.

Usage

ref_dist_pca(df)

Arguments

df

data.frame or matrix of the original dataset

Details

Generate Reference Distribution using PCA

Value

A scaled matrix containing the reference distribution in PCA space

Examples


data(iris)
df <- iris[,1:4]
ref <- ref_dist_pca(df)



bootcluster documentation built on April 3, 2025, 7:45 p.m.