sample_cols_spmat | R Documentation |
This function takes in a sparse matrix, and then samples a single value from each column, with sampling weights within each column equal to the columns values
sample_cols_spmat(spmat, return_mat = TRUE)
spmat |
a sparse numeric matrix describing RPF's multimapping |
return_mat |
whether to a matrix for selecting the elements, as opposed to the summary data frame;defaults to TRUE |
A matrix of the
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.