SurvDS: Creates a survival object for survival analysis using the Cox...

View source: R/SurvDS.R

SurvDSR Documentation

Creates a survival object for survival analysis using the Cox proportional hazards model at the serverside environment

Description

returns a summary of the Cox proportional hazards from the server side environment.

Usage

SurvDS(time = NULL, time2 = NULL, event = NULL, type = NULL, origin = NULL)

Arguments

time

name of start time or follow-up time parameter to be passed to Surv(). Should be a character string.

time2

name of stop time parameter to be passed to Surv(). Should be a character string.

event

name of event parameter to be passed to Surv() Should be character string.

type

character string specifying the type of censoring. Possible values are "right", "left", "counting", "interval", "interval2", or "mstate"

origin

numeric, used for counting process data and is the hazard function origin. The origin parameter is used with time-dependent strata in order to align the subjects properly when they cross over from one strata to another. This parameter has rarely proven useful.

Details

Serverside assign function SurvDS called by clientside function. ds.Surv. returns a Survival object for use in Cox proportional hazards from the server side environment from the server side environment. This request is not disclosive as it only returns a string. For further details see help for ds.Surv function.

Value

a survival::Surv() object from the server side environment.

Author(s)

Soumya Banerjee and Tom Bishop (2021).


neelsoumya/dsSurvival documentation built on July 1, 2023, 10:31 p.m.