Learn R Programming

TableMonster (version 1.7.6)

tmTotals<-: Assignment function for the 'totals' attribute

Description

Assignment function for the 'totals' attribute of an object of class 'TableMonster'

Usage

tmTotals(x) <- value

Arguments

x

An object of class 'TableMonster'

value

The 'totals' attribute, a numeric or character vector of length equal to the number of columns in the table.

Author

Grant Izmirlian

Details

This attribute is optional and is only used when you have a table in which you want to put a single row of column totals (or anything else) below the bottom line.

References

<https://www.youtube.com/watch?v=CM1TaNVnh58>