search for: eigvec

Displaying 2 results from an estimated 2 matches for "eigvec".

Did you mean: sigvec
2013 Nov 25
0
Hey guys
...omework instructions in case you want to see Lab10.pdf This is my code dat <-read.delim("~/Dropbox/Homework/R Studio/geneExpression_Lab10.txt", header=F) dat <- as.matrix(dat) dat <- t(as.matrix(dat)) covmat <-cov(dat) #Error: is.numeric(x) || is.logical(x) is not TRUE eigvec <- eigen(covmat)$vectors eigval <- eigen(covmat)$values eigvec adjusted.dat <- sapply(1:ncol(dat), function(i) dat[,i]- mean(dat[,i])) new.dat <- adjusted.dat %*% eigvec plot(new.dat) cov(new.dat)
2010 Jan 11
3
Eigenvectors and values in R and SAS
Hi, I was wondering if function eigen() does something different from the function call eigen() in SAS. I'm in the process of translating a SAS code into a R code and the values of the eigenvectors and eigenvalues of a square matrix came out to be different from the values in SAS. I would also appreciate it if someone can explain the difference in simple terms. I'm pretty new to both