datashield.aggregate: Data aggregation

Description Usage Arguments Value

Description

Aggregates the expression result using the specified aggregation method in the current Datashield session.

Usage

1
2
3
4
5
6
7
8
9
datashield.aggregate(opal, expr, async = TRUE, wait = TRUE)

## S3 method for class 'opal'
datashield.aggregate(opal, expr, async = TRUE,
  wait = TRUE)

## S3 method for class 'list'
datashield.aggregate(opal, expr, async = TRUE,
  wait = TRUE)

Arguments

opal

Opal object or list of opal objects.

expr

Expression to evaluate.

async

R script is executed asynchronously within the session (default is TRUE).

wait

Wait for the R script asynchronously executed to complete (makes sense only with async=TRUE).

Value

The result of the aggregation or the R command ID if the async flag is TRUE and if the wait flag is FALSE and if Opal version is at least 2.1.


datashield/opal documentation built on May 14, 2019, 7:53 p.m.