Sum

Description

Returns the sum of a ml.data.frame field.

Usage

1
2
## S4 method for signature 'ml.col.def'
sum(x, na.rm = FALSE)

Arguments

x

a ml.data.frame field.

na.rm

not currently used.

Value

The sum

Examples

1
2
3
4
5
6
7
8
## Not run: 
 locConn <- ml.connect()
 # create a ml.data.frame based on a search
 mlIris <- ml.data.frame(locConn, collection = "iris")
 # sum
 sum(mlIris$Sepal.Length)

## End(Not run)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.