Description Usage Arguments Value Examples
View source: R/NguyenToolsnguyenPkgRfunctionsHW2.R
Runs a function FUN along the MARGIN of a matrix X
1 |
X |
a matrix of any type |
MARGIN |
a binary value taking on '1' for rows or '2' for columns of a matrix |
FUN |
a function that operates along the MARGIN of the matrix X |
The output that is identical to what apply() function family would return
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.