ji.ds.list: Function to construct a list object

Description Usage Arguments Value Author(s) Examples

Description

Function to construct a list object

Usage

1
2
  ji.ds.list(datasources = NULL, vector = 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.

vector

a vector that holds the objects to contruct into a list

newobj

the name of the output object. If this argument is set to NULL, the name of the new object is 'list_vect'.

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 the file that contains the login details
data(logindata)

# login and assign the required variables to R
myvar <- list("LAB_TSC","LAB_HDL")
opals <- datashield.login(logins=logindata,assign=TRUE,variables=myvar)

# combine the 'LAB_TSC' and 'LAB_HDL' variables into a list
myvect <- quote(list(D$LAB_TSC, D$LAB_HDL))
ji.ds.list(datasources=opals, vector=myvect)
}

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