Description Usage Arguments Details
View source: R/Crossval_OmicsPLS.R
Internal function for crossval_sparsity
1 |
dat |
Matrix with numeric row/col names |
index |
Get from which(..., arr.ind = T) |
p |
Number of variables in X |
q |
Number of variables in Y |
This function finds the most sparse combination of keepx and keepy (min(keepx/p + keepy/q)) that yields cov(T,U) within 1 std error of the largest cov(T,U). Note that it's possible that the resulting keepx or keepy is larger than the orignal when p >> q or p << q.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.