dssClogit: Remote clogit

Description Usage Arguments Value Examples

View source: R/dssClogit.R

Description

Executes clogit {survival} on the remote nodes

Usage

1
dssClogit(..., async = TRUE, wait = 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

wait

same as in datashield.assign

datasources

same as in datashield.assign

Value

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

Examples

1
2
3
4
5
6
# open a local pseudo connection:
opals <- dssCreatePseudoServers(servers = 1, tie_first_to_GlobalEnv = 1)
# 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$local1)

IulianD/dsSwissKnifeClient documentation built on June 23, 2020, 4:38 p.m.