Description Usage Arguments Details Value Warning Author(s) See Also Examples
An implementation of apply for matter_mat, sparse_mat and virtual_mat matrices.
1 2 3 4 5 6 7 8 |
X |
A |
MARGIN |
Must be 1 or 2 for |
FUN |
The function to be applied. |
... |
Additional arguments to be passed to |
BPPARAM |
An optional instance of |
Because FUN must be executed by the interpreter in the appropriate R environment, the full row or column will be loaded into memory. The chunksize of X is ignored. For summary statistics, functions like colMeans and rowMeans offer greater control over memory pressure. When performed in parallel, the matter metadata is serialized to each R session, so all workers must be able to access the data via the same paths().
See apply for details.
Applying a function over the rows of a column-major matrix (e.g., matter_matc) or over the columns of a row-major matrix (e.g., matter_matr) may be very slow.
Kylie A. Bemis
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.