atotal: Add all marginal sums to an array

Description Usage Value Author(s)

Description

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.

Usage

1
atotal(arr, FUN = sum, label = "Total", ...)

Value

an array with dimension dim(arr) + 1

Author(s)

Georges Monette


gmonette/yscs documentation built on May 17, 2019, 7:28 a.m.