ds.prod: Product of study variable elements

Description Usage Arguments Details Value Dependencies Author(s) Examples

Description

It computes the product of all values in its arguments.

Usage

1
ds.prod(x = NULL, naRm = FALSE, datasources = NULL)

Arguments

x

a character, the name of study variable.

naRm

a boolean, if TRUE (default) remove the missing values during the computation on the server side; if FALSE does not remove the missing values.

datasources

a list of opal object(s) obtained after login in to opal servers; these objects hold also the data assign to R, as data frame, from opal datasources.

Details

It is a wrapper for the server side function getProd.

Value

return a numeric value.

Dependencies

getProd

Author(s)

Paula Raissa Costa e Silva

Examples

1
prod <- ds.prod('D$maternal_age')

paularaissa/distStatsClient documentation built on June 19, 2019, 12:43 a.m.