Description Usage Arguments Value Author(s)
atotal adds by default a border of sums to an array. The function FUN may be used instead of 'sum'. Additional arguments to FUN can also be given.
1  | 
arr | 
 array for which margins need to be added  | 
FUN | 
 function to compute margins, default: sum  | 
label | 
 for margin, default: 'Total'  | 
... | 
 additional arguments to 'FUN'  | 
an array with dimension dim(arr) + 1
Georges Monette
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.