col.sum: col.sum

Description Usage Arguments Value

View source: R/rrepast-helper.R

Description

Sum all columns but one (pset) of a data frame

Usage

1
col.sum(d, skip = c())

Arguments

d

The data frame

skip

The columns which should not be included in the sum

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.