Description Usage Arguments Value Author(s) Examples
This function is similar to R function
complete.cases
.
1 2 | ji.ds.complete.cases(datasources = NULL, x = 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 |
xlist |
a list of objects to be checked for completeness. |
newobj |
the name of the new vector.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 14 15 | {
# load that contains the login details
data(logindata)
# login and assign specific variable(s)
opals <- datashield.login(logins=logindata,assign=TRUE)
# Create a vector with indices for complete observations (rows)
ji.ds.complete.cases(datasources=opals, x=quote(D))
# Create a vector with indices for complete observations for LAB_TSC and PM_BMI_CONTINUOUS variables
input = list(quote(D$LAB_TSC),quote(D$PM_BMI_CONTINUOUS))
ji.ds.complete.cases(datasources=opals, x=input, newobj='TSC_BMI_complete')
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.