ds.forestplot {dsBaseClient} | R Documentation |
Draws a foresplot of the coefficients for Study-Level Meta-Analysis performed with DataSHIELD
ds.forestplot(mod, variable = NULL, method = "ML", layout = "JAMA")
mod |
|
variable |
|
method |
|
layout |
|
## Not run:
# Run a logistic regression
builder <- DSI::newDSLoginBuilder()
builder$append(server = "study1",
url = "http://192.168.56.100:8080/",
user = "administrator", password = "datashield_test&",
table = "CNSIM.CNSIM1", driver = "OpalDriver")
builder$append(server = "study2",
url = "http://192.168.56.100:8080/",
user = "administrator", password = "datashield_test&",
table = "CNSIM.CNSIM2", driver = "OpalDriver")
builder$append(server = "study3",
url = "http://192.168.56.100:8080/",
user = "administrator", password = "datashield_test&",
table = "CNSIM.CNSIM3", driver = "OpalDriver")
logindata <- builder$build()
# Log onto the remote Opal training servers
connections <- DSI::datashield.login(logins = logindata, assign = TRUE, symbol = "D")
# Fit the logistic regression model
mod <- ds.glmSLMA(formula = "DIS_DIAB~GENDER+PM_BMI_CONTINUOUS+LAB_HDL",
data = "D",
family = "binomial",
datasources = connections)
# Plot the results of the model
ds.forestplot(mod)
## End(Not run)