The answers and suggested code below are for the extended practical session that allows you to implement basic DataSHIELD functions and interpret the results.
Code Block | ||
---|---|---|
| ||
# load libraries library(opal) library(dsBaseClient) server <- c("study1", "study2", "study3") url <- c("http://XXXXXX:8080") table <- c("DASIM.DASIM1", "DASIM.DASIM2", "DASIM.DASIM3") logindata <- data.frame(server, url, user="administrator", password="datashield_test&", table) # login and assign the whole dataset opals <- datashield.login(logins=logindata, assign=TRUE) |
...
Tip | |||||
---|---|---|---|---|---|
| |||||
The level of glucose related to gender and bmi is given by the formula: While the level of bmi is increasing by one unit, the level of glucose is increasing by 0.03543909. For a female (GENDER=1) with PM_BMI_CONTINUOUS=22, the level of glucose should be
|
...