Summarizing Functions for table Object
tableSummary.RdUtility functions for adding Totals
total_col adds a column summary to a table/data.frame.
total_row adds a row summary to a table/data.frame.
total_col.table adds a column summary to a table.
total_row.table Adds a row summary to a table.
total_col.matrix adds a column summary to a matrix.
total_col.matrix adds a row summary to a matrix.
total_col.table adds a column summary to a data.frame.
total_row.table Adds a row summary to a table.
Usage
total_col(x, na.rm = FALSE)
total_row(x, na.rm = FALSE)
# S3 method for class 'table'
total_col(x, na.rm = FALSE)
# S3 method for class 'table'
total_row(x, na.rm = FALSE)
# S3 method for class 'matrix'
total_col(x, na.rm = FALSE)
# S3 method for class 'matrix'
total_row(x, na.rm = FALSE)
# S3 method for class 'data.frame'
total_col(x, na.rm = FALSE)
# S3 method for class 'data.frame'
total_row(x, na.rm = FALSE)