col.sum {rrepast}R Documentation

col.sum

Description

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

Usage

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


[Package rrepast version 0.8.0 Index]