dfsumcol {rrepast} | R Documentation |
Sum data frame columns but tho
dfsumcol(d, lst = c(), invert = FALSE)
d |
The data frame |
lst |
Skip columns included. Sum columns NOT included |
invert |
Sum only the columns included in |
The original data frame with a new column (sum) holding the sum