dfsumcol: dfsumcol

Description Usage Arguments Value

View source: R/rrepast-helper.R

Description

Sum data frame columns but tho

Usage

1
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


antonio-pgarcia/RRepast documentation built on Feb. 22, 2020, 1:20 a.m.