Learn R Programming

idm (version 1.3.1)

do_es: Computes the eigenspace of a data matrix

Description

This function computes the eigenspace of a mean-centered data matrix

Usage

do_es(data)

Arguments

data
a matrix or data frame

Value

A list describing the eigenspace of a data matrix, with components
u
Left eigenvectors
v
Right eigenvectors
m
Number of cases
d
Eigenvalues
orgn
Data mean
smfq
...

See Also

add_es, update.i_pca, i_pca

Examples

Run this code
#Iris species
data("iris", package = "datasets")
eg = do_es(iris[,-5]) 
#corresponds to the SVD of the centered data matrix

Run the code above in your browser using DataLab