Description Usage Arguments Value Examples
Apply with input and output converted to matrix
1 | matrix_apply(x, margin, FUN, ...)
|
x |
Vector or matrix; if vector, the vector will be converted to a matrix. |
margin |
Vector giving the subscripts the function will be applied over, see |
FUN |
The funcion to be applied, see |
... |
Any additional arguments to FUN. |
Output of apply, but always in matrix format.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.