basis_pca: The basis of Principal Component Analysis (PCA)

Description Usage Arguments See Also Examples

View source: R/0_util.r

Description

The orthogonal linear components of the variables in the next largest direction of variance.

Usage

1
basis_pca(data, d = 2)

Arguments

data

Numeric matrix or data.frame of the observations.

d

Number of dimensions in the projection space.

See Also

Rdimtools::do.pca

Other basis identifiers: basis_guided(), basis_half_circle(), basis_odp(), basis_olda(), basis_onpp()

Examples

1
2
dat_std <- scale_sd(wine[, 2:6])
basis_pca(data = dat_std)

spinifex documentation built on Sept. 28, 2021, 5:09 p.m.