Description Usage Arguments Value
View source: R/matrix_functions.R
A function to extract a vector(s) from a matrix stored in compressed column or row format
1 2 3 4 5 6 7 8 9 | extract_vector_from_compressed_matrix(
vector_nos,
x,
i,
p,
vector_length,
zero_based_idx = TRUE,
vector_subset = NULL
)
|
vector_nos |
indexes of the vectors to extract |
x |
sparse-matrix data |
i |
sparse-matrix indexes |
p |
sparse-matrix pointers |
vector_length |
length of the vectors to extract |
zero_based_idx |
(boolean; default TRUE) do i and p use zero-based indexing? |
vector_subset |
(optional) integers indicating a subset of the vectors to return |
the extracted vectors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.