dfsumcol {rrepast}R Documentation

dfsumcol

Description

Sum data frame columns but tho

Usage

dfsumcol(d, lst = c(), invert = FALSE)

Arguments

d

The data frame

lst

Skip columns included. Sum columns NOT included

invert

Sum only the columns included in lst

Value

The original data frame with a new column (sum) holding the sum


[Package rrepast version 0.8.0 Index]