Description Usage Arguments Value
View source: R/matrix_functions.R
Extract column from compressed sparse column matrix
1 2 3 4 5 6 | extract_column_from_csc_matrix(
col_nos,
csc_mat,
zero_based_idx = TRUE,
row_subset = NULL
)
|
col_nos |
idxs of the columns to extract |
csc_mat |
a list representing a matrix stored in csc form containing the entries p, i, x, and dim. |
zero_based_idx |
(boolean) do i and p use zero-based indexing |
row_subset |
(optional) subset the extracted columns by row index |
a matrix containing the extracted columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.