0

I want to implement eigen vectors and values without a function(eigen).

Hand calculations in simple matrices are possible, but it is hard to think about to implement them in r.

I want a code that can be used in all x matrixs (n x p).

I would be really grateful if you could provide me with an idea or code.

A <- t(x) %*% x 
eigen(A)$vectors # I don't want to use 'eigen' 
eigen(A)$values

0 Answers0