cumulate-scidbst: Cumulate function for scidbst objects

Description Usage Arguments Value Note See Also Examples

Description

This function wraps scidbs cumulate function in order to maintain the scidbst object with the dimension references.

Usage

1
2
## S4 method for signature 'scidbst'
cumulate(x, expression, dimension)

Arguments

x

scidbst object

expression

any valid SciDB aggregate expression as a character string

dimension

optional parameter, the dimension along which the cumulative sum or product will be calculates

Value

a scidbst object

Note

Please use scidb::cumulate, when you operate on pure scidb objects, since package 'scidb' does not export this function as a S4 method.

See Also

scidb::cumulate

Examples

1
2
3
4
5
6
## Not run: 
 scidbconnect(...)
 chicago = scidbst("chicago_sts")
 cumsum.band1 = cumulate.scidbst(chicago,"sum(band1)","t")

## End(Not run)

flahn/scidbst documentation built on May 16, 2019, 1:15 p.m.