PCASuitability: PCA Suitability

View source: R/dataPreprocessing.R

PCASuitabilityR Documentation

PCA Suitability

Description

Performs Bartlett's test and KMO test to determine the suitability of PCA on the given correlation matrix R.

Usage

PCASuitability(R, sig_level = 0.05)

Arguments

R

A correlation matrix of the dataset.

sig_level

A numeric significance level for Bartlett's test, default is 0.05.

Value

A list indicating if PCA is suitable, along with the results of Bartlett's and KMO tests.


neobernad/evaluomeR documentation built on Nov. 12, 2024, 11:29 p.m.