Description Usage Arguments Details Value See Also Examples
The 'svd' function in R 2.5.1 occasionally throws an error with a cryptic message. In some such cases, changing the LINPACK argument has worked.
1 |
x, nu, nv, LINPACK |
as for the 'svd' function in the 'base' package. |
In R 2.5.1, the 'svd' function sometimes stops with a cryptic error message for a matrix x for which a second call to 'svd' with !LINPACK will produce an answer.
When such conditions occur, write a warning and save the matrix with the result to a file with a name like 'svd.LINPACK.error.matrix*.rda' in the working directory.
Except for these rare pathologies, 'svd2' should work the same as 'svd'.
NOTE: This function was written to get past a pathology without isolating a replicable example. The problem may have long been fixed. It is maintained in case it has not.
a list with components d, u, and v, as described in the help file for 'svd' in the 'base' package.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.