RSpectra
RSpectra copied to clipboard
Choose the number of components dynamically
Say I know the total variance of the matrix, and want to get 99% of that (let's call that T).
Instead of specifying k, would it be possible to implement a version of e.g. eigs_sym() that stops when sum(eigs$values^2) is larger than T?