Calculate the SVD and returns the right singular vectors required for the compression.
1 | get_right_vectors(x, ndim, loss, verbose = TRUE)
|
x |
Matrix, samples in rows. |
ndim |
Integer, describes the number of SVD dimensions to retain. If NULL, the number of dimensions is based on loss. If both ndim and loss is NULL, all dimensions are returned. |
loss |
Numeric between 0 and 1. Describes the maximum amount of variance that can be lost during compression. |
verbose |
Logical, should runtime messages be printed? Default is TRUE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.