.complCols | R Documentation |
This function was designed to complete the selection of columns of sparse matrix 'dat' with sets of 'nCombin' columns at complete 'coverage' Context : In sparse matrix 'dat' search subsets of columns with some rows as complete (no NA).
.complCols(x, dat, nCombin)
x |
(integer, length=1) column number for with other columns to combine & give (some) complete non-NA lines are seeked |
dat |
(matrix) .. init data, smay be parse matrix with numerous NA |
nCombin |
(integer) .. number of columns used to make complete subset |
This function returns a matrix of column-indexes complementing (nCombin rows)
rowNormalize
.complCols(3, dat=matrix(c(NA,12:17,NA,19),ncol=3), nCombin=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.