pca: Principal Component Analysis

Description Usage Arguments Details Value

View source: R/pca.R

Description

Tidy principal component analysis.

Usage

1
pca(data, center = TRUE, scale = TRUE)

Arguments

data

Data frame.

center

Logical. Should the data be centered?

scale

Logical. Should the data be scaled by the standard deviation?

Details

Perform principal component anlaysis on a numeric data frame.

Value

Tibble projected on the new PCA space.


mattwarkentin/sandbox documentation built on Jan. 29, 2020, 4:46 p.m.