subspace.Matrix | R Documentation |
This function calculates scaled eigenvalues and eigenvectors of x matrix, as well as sampled eigenvalues from a random noise matrix N of the same dimension as x, which follows a Marcenko-Pastur distribution with package "RMTsata"(https://cran.r-project.org/web/packages/RMTstat/index.html).
subspace.Matrix( x, components = NULL, decomposition = c("svd", "eigen"), mp = TRUE, num_est_samples = NA, verbose = FALSE, ... )
x |
A numeric real-valued matrix with n number of samples and p number of features. If p > n, a warning message is generated and the transpose of x is used. |
components |
A series of right singular vectors to estimate. Components must be smaller or equal to min(nrow(x), ncol(x)). |
decomposition |
The method to be used; method = "svd" returns results from singular value decomposition; method = "eigen" returns results from eigenvalue decomposition. |
mp |
A logical value. If true, sample eigenvlaues from random noise matrix with mp distribution. |
num_est_samples |
Split data into num_est_samples-fold for parallel computation. |
verbose |
output message |
... |
Extra parameters |
* [MarchenkoPasturPar()] calculates upper and lower limits of Marcenko-Pastur distribution from RMTstat package.
* [rmp()] sample scaled eigenvalues of random noise matrix from RMTstat package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.