Description Usage Arguments Value Examples
This function implemented a MM algorithm to fit a svd on a quantitaive data set with missing values. The details of this function can be found in https://arxiv.org/abs/1902.06241.
1 |
X |
a quantitative data set |
R |
the number of PCs |
opts |
a list contains the setting for the algorithm.
|
This function returns a list contains
U: the left singular vectors
S: the diagnal matrix contains the singular values
V: the right singular vectors
iter: the number of iterations used
cvErrors: K-fold cross validation errors
diagnose: records hist_obj and rel_obj
1 | ## Not run: svd_mis(X,R = 3,opts=list())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.