SubsampleCol {countland} | R Documentation |
Internal function for subsampling a column from a sparse matrix.
Description
Internal function for subsampling a column from a sparse matrix.
Usage
SubsampleCol(lm, li, j, n_counts)
Arguments
lm |
column vector |
li |
row positions |
j |
column index |
n_counts |
count to sample |
Value
subsampled column as dgTMatrix components
[Package countland version 0.1.2 Index]