pca_standardize_norm {booklet}R Documentation

Data standardization for PCA

Description

Perform data standardization for multivariate exploratory data analysis.

Usage

pca_standardize_norm(X, center = TRUE, scale = TRUE)

pca_standardize(X, scale = TRUE, weighted_row = rep(1, nrow(X))/nrow(X))

Arguments

X

matrix

center

centering by the mean

scale

scaling by the standard deviation

weighted_row

row weights

Details

Standardization depends on what you need to perform factor analysis. Two methods are implemented:

Value

A dataframe of the same size as X.

Examples

library(booklet)

iris[, -5] |>
  pca_standardize_norm() |>
  head()

[Package booklet version 1.0.0 Index]