powered by
Eigen calculates the eigenvalues and eigenvectors of a square, symmetric matrix using the iterated QR decomposition
Eigen
Eigen(X, tol = sqrt(.Machine$double.eps), max.iter = 100, retain.zeroes = TRUE)
a list of two elements: values-- eigenvalues, vectors-- eigenvectors
values
vectors
a square symmetric matrix
tolerance passed to QR
QR
maximum number of QR iterations
logical; retain 0 eigenvalues?
John Fox and Georges Monette
eigen
SVD
C <- matrix(c(1,2,3,2,5,6,3,6,10), 3, 3) # nonsingular, symmetric C EC <- Eigen(C) # eigenanalysis of C EC$vectors %*% diag(EC$values) %*% t(EC$vectors) # check
Run the code above in your browser using DataLab