An alternative to Singular Value Decomposition function svd that examines n by p matrix x and if n < p obtains the svd by applying svd to the transpose of x. This is an internal function and is not intended to be called by the end user.
1 
x 
A numeric or complex matrix 
nu 
The number of left singular vectors to be computed. 
nv 
The number of right singular vectors to be computed. 
This implementation of SVD uses the LINPACK routines DSVDC for numeric matrices and ZSVDC for complex matrices.
The returned value is a list with components:
d 
A vector containing the singular values of 
u 
A matrix whose columns contain the left singular vectors of

v 
A matrix whose columns contain the right singular vectors of

Mike Denham
http://www.sph.umich.edu/~ghoshd/COMPBIO/POPTSCORE
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.