calc_eigenvectors {klovan}R Documentation

Calculate Eigenvectors

Description

This function calculates the Eigenvectors 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_eigenvectors(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 eigenvectors for each principal component listed in "pc.names1".

Examples

data("Klovan_Row80")
calc_eigenvectors(covar_mtrx(Klovan_Row80)) # view eigenvectors


[Package klovan version 0.1.0 Index]