ji.ds.exp: Computes the exponential function

Description Usage Arguments Value Author(s) Examples

Description

This function is similar to R function exp.

Usage

1
2
  ji.ds.exp(datasources = NULL, xvect = NULL,
    newobj = NULL)

Arguments

datasources

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

xvect

a vector.

newobj

the name of the new vector.If this argument is set to NULL, the name of the new variable is the name of the input variable with the suffixe '_exp' (e.g. 'PM_BMI_CONTINUOUS_exp', if input variable's name is 'PM_BMI_CONTINUOUS')

Value

a message is displayed when the action is completed.

Author(s)

Gaye, A. (amadou.gaye

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
{

# load that contains the login details
data(logindata)

# login and assign specific variable(s)
myvar <- list("PM_BMI_CONTINUOUS")
opals <- datashield.login(logins=logindata,assign=TRUE,variables=myvar)

# compute exponential function of the 'PM_BMI_CONTINUOUS' variable
ji.ds.exp(datasources=opals, xvect=quote(D$PM_BMI_CONTINUOUS))

}

datashield/ji.dev.cl documentation built on May 14, 2019, 7:52 p.m.