dssClogit: Remote clogit

View source: R/dssClogit.R

dssClogitR Documentation

Remote clogit

Description

Executes clogit {survival} on the remote nodes

Usage

dssClogit(..., async = TRUE, datasources = NULL)

Arguments

...

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

Value

A stripped down clogit model (without the call and the residuals)

Examples

# 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)


sib-swiss/dsSwissKnifeClient documentation built on July 16, 2025, 6:25 p.m.