performPCA: Perform PCA

View source: R/dataPreprocessing.R

performPCAR Documentation

Perform PCA

Description

Executes PCA on the provided dataset and summarizes the results.

Usage

performPCA(dataset, ncp = NULL, scale = TRUE, visualize = FALSE)

Arguments

dataset

A data frame to be analyzed via PCA.

ncp

An integer specifying the number of principal components to retain, default is 5.

scale

A boolean indicating whether to scale the data, default is TRUE.

Value

A list containing the PCA results, summary of eigenvalues, contributions, coordinates, and more.


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