Singular Value Decomposition (SVD) Wrapper
svd_wrapper.Rd
Computes the singular value decomposition of a matrix using one of the specified methods. It is designed to be an easy-to-use wrapper for various SVD methods available in R.
Arguments
- X
the input matrix
- ncomp
the number of components to estimate (default: min(dim(X)))
- preproc
the pre-processor to apply on the input matrix (e.g.,
center()
,standardize()
,pass()
)- method
the SVD method to use: 'base', 'fast', 'irlba', 'propack', 'rsvd', or 'svds'
- q
parameter passed to method
rsvd
(default: 2)- p
parameter passed to method
rsvd
(default: 10)- tol
minimum eigenvalue magnitude, otherwise component is dropped (default: .Machine$double.eps)
- ...
extra arguments passed to the selected SVD function