Description Usage Arguments Author(s)
Most of this code is from the package cate
. I corrected some
problems. Specifically, I allow r = 0
and I included a few
needed drop = FALSE
terms. I also divide by nrow(Y) -
r
rather than by nrow(Y)
.
1 | pca_naive(Y, r)
|
Y |
A matrix of numerics. The data. |
r |
the rank. |
David Gerard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.