Description Usage Arguments Value Author(s) Examples
Function to construct a list object
1 2 | ji.ds.list(datasources = NULL, vector = NULL,
newobj = NULL)
|
datasources |
a list of opal object(s) obtained
after login in to opal servers; these objects hold also
the data assign to R, as |
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 |
a message is displayed when the action is completed.
Gaye, A. (amadou.gaye
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)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.