ji.ds.asList: Constructs an object of type list

Description Usage Arguments Value Author(s) Examples

Description

This function is similar to R function as.list.

Usage

1
  ji.ds.asList(datasources = NULL, x = 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.

x

an object to be converted into a list

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 '_list' (e.g. 'D_factor', if input variable's name is 'D')

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
{

# load that contains the login details
data(logindata)

# login and assign specific variable(s)
opals <- datashield.login(logins=logindata,assign=TRUE)

# turn the data frame D into a list
ji.ds.asList(datasources=opals, x=quote(D))
}

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