coxphSLMAassignDS: Performs survival analysis using the Cox proportional hazards...

View source: R/coxphSLMAassignDS.R

coxphSLMAassignDSR Documentation

Performs survival analysis using the Cox proportional hazards model at the serverside environment.

Description

Performs survival analysis using the Cox proportional hazards models and stores the model on the server side environment.

Usage

coxphSLMAassignDS(
  formula = NULL,
  dataName = NULL,
  weights = NULL,
  init = NULL,
  ties = "efron",
  singular.ok = TRUE,
  model = FALSE,
  x = FALSE,
  y = TRUE,
  control = NULL
)

Arguments

formula

either NULL or a character string (potentially including '*' wildcards) specifying a formula.

dataName

character string of name of data frame

weights

vector of case weights

init

vector of initial values of the iteration

ties

character string specifying the method for tie handling. The Efron approximation is used as the default. Other options are 'breslow' and 'exact'.

singular.ok

Logical value indicating how to handle collinearity in the model matrix. Default is TRUE. If TRUE, the program will automatically skip over columns of the X matrix that are linear combinations of earlier columns. In this case the coefficients of such columns will be NA and the variance matrix will contain zeros.

model

logical value. If TRUE, the model frame is returned in component model.

x

logical value. If TRUE, the x matrix is returned in component x.

y

logical value. If TRUE, the response vector is returned in component y.

control

object of type survival::coxph.control() specifying iteration limit and other control options. Default is survival::coxph.control()

Details

Serverside assign function coxphSLMAassignDS called by clientside function. ds.coxphSLMAassign. stores the Cox proportional hazards in the server side environment This request is not disclosive as it only returns a string. For further details see help for ds.coxphSLMAassign function.

Value

the Cox proportional hazards from the server side environment from the server side environment.

Author(s)

Soumya Banerjee and Tom Bishop (2020).


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