cas.sum: Column Sums

Description Usage Arguments Details Value See Also Examples

View source: R/descriptive_stats.R

Description

Returns the sum of the values for each column in the input table.

Usage

1

Arguments

x

CASTable.

Details

This function operates on numeric columns only.

Value

casDataFrame

The result includes one row for each numeric variable and a column that is named Sum for the summed value.

See Also

colSums,CASTable-method

Examples

1
2
3
4
5
## Not run: 
cas.sum(ct[1:4])
cas.sum(ct$n2)

## End(Not run)

sassoftware/R-swat documentation built on Dec. 8, 2018, 1:20 a.m.