View source: R/apply_by_blocks.R
apply_by_block | R Documentation |
Applies a function to a matrix by horizontal or vertical blocks.
apply_by_block(Y, layout, L, FUN, ...)
Y |
Matrix |
layout |
Blocks are distributed: 1 horizontally, 2 vertically. |
L |
Number of lines of the block. |
FUN |
Funtion to apply to the block. |
... |
Arguments to be passed to FUN. |
A matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.