Description Usage Arguments Value Author(s) Examples
this function is similar to R function colnames
1 | ji.ds.colnames(datasources = NULL, x = 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 |
x |
a matrix-like object |
a string containing column names of the given object
Gaye, A. (amadou.gaye
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | {
# load that contains the login details
data(logindata)
# login
opals <- datashield.login(logins=logindata,assign=TRUE)
# Example 1: Get the column names of the assigned datasets
ji.ds.colnames(datasources=opals, x=quote(D))
# Example 2: Vectors are wrong input to the colnames function
ji.ds.colnames(datasources=opals, x=quote(D$LAB_TSC))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.