This function is deprecated, use adorn_totals instead.
add_totals_col(dat, na.rm = TRUE)
| dat | an input data.frame with at least one numeric column. |
|---|---|
| na.rm | should missing values (including NaN) be omitted from the calculations? |
Returns a data.frame with a totals column containing row-wise sums.