Provides a simple wrapper to svd.

udv_svd(Y, K = 1)

Arguments

Y

An n by p matrix.

K

Number of factors to use.

Value

A list with components (u,d,v).