principalcomponents: principalcomponents

Description Usage Arguments Details Value Examples

View source: R/principalcomponents.R

Description

Computes relevant values and output related to the principal components of a sample of data

Usage

1

Arguments

data

data set for which some principal component calculations are to be performed

Details

Computes the covariance matrix for the sample, the principal components, the lambda values, the total variance and the correlations between the variables and principal components

Value

A list containing the sample covariance matrix, the principal components, the eigenvalues, the total variance, and a matrix of the correlations between the variables and the principal components

Examples

1
## Not run:  principalcomponents(data = MATH4793MOSER::welder)

jacob-moser/MATH4793MOSER documentation built on Dec. 20, 2021, 8:07 p.m.