calc_eigenvalues {klovan}R Documentation

Calculate Eigenvalues

Description

This function calculates the eigenvalues of a given covariance matrix or a klovan dataset. In case of a klovan dataset, it is first converted into a covariance matrix. For further details on klovan datasets, refer to the README.

Usage

calc_eigenvalues(data)

Arguments

data

A covariance matrix made with covar_mtrx() function, or a A dataset of class data.frame. The data should contain 'C_X' and 'C_Y' columns representing the x and y coordinates of the data points and excludes any rank, ID, or column not for analysis.

Value

A data frame with two columns: "Evalues_COV" and "pc.names1". "Evalues_COV" represents the eigenvalues for each principal component listed in "pc.names1".

Examples

data("Klovan_Row80")
calc_eigenvalues(covar_mtrx(Klovan_Row80)) # view eigenvalues


[Package klovan version 0.1.0 Index]