Displaying 1 result from an estimated 1 matches for "eigenvec".
Did you mean:
eigene
2008 Jun 21
1
converting an R function into VBA
Hi everyone,
I want to convert an R function into VBA for calculating the eigenvectors and eigenvalues of a matrix using the "Power Method". The function is:
PowerMethod <- function(x, tolerance) {
my.mat <- var(x[,-1], na.method="available")
matSize <- dim(my.mat)[1]
eigenVec <- matrix(NA, nrow=matSize, ncol=matSize)
eigenVal <...