Eigenvalue, Eigenvectors, Linear Algebra, Mathematics, Principal Component.
We will create the matrix A <- matrix(c(1/2, 0, 0, -1, 2/3, 0, 5, -8, -1/4), nrow = 3 print(A) You can see that we called our matrix as A . Which the result is the matrix ## [,1] [,2] [,3] ## [1,] 1/2 0 0 ## [2,] -1 2/3 0 ## [3,] 5 -8 -1/4 R already has a function called eigen() where you put the