dssClogit | R Documentation |
Executes clogit {survival} on the remote nodes
dssClogit(..., async = TRUE, datasources = NULL)
... |
arguments to be sent to clogit. Note, the data argument must be a character, the name of the input dataframe. |
async |
same as in datashield.assign |
datasources |
same as in datashield.assign |
A stripped down clogit model (without the call and the residuals)
# open a local pseudo connection:
library(DSLite)
dslite.server1 <<- newDSLiteServer(config = defaultDSConfiguration(include=c('dsSwissKnife')))
builder <- newDSLoginBuilder()
builder$append(server="server1", url='dslite.server1',driver = "DSLiteDriver")
logindata <- builder$build()
opals <- datashield.login(logins = logindata)
# load the infert dataset
datashield.aggregate(opals[1], as.symbol('partialData("infert")'))
clogit.model <- dssClogit(formula = case ~ spontaneous + induced + stratum, data='infert', datasources = opals[1])
summary(clogit.model$server1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.