fitSemiParametric-methods: Method to fit semi-parametric model (Cox) and Kaplan-Meier...

Description Usage Arguments

Description

Method to fit semi-parametric model (Cox) and Kaplan-Meier estimator to a SurvivalData object

Usage

1
2
3
4
5
6
7
fitSemiParametric(object, ...)

## S4 method for signature 'SurvivalData'
fitSemiParametric(object, endPoint,
  subgroup = as.character(NA), covariates = character(0),
  strata = character(0), conf.type = c("none", "plain", "log",
  "log-log")[3], ties = c("efron", "breslow", "exact")[2])

Arguments

object

(SurvivalData) The object to fit the semi-parametric model and calculate the KM estimator

...

additional argument

endPoint

(character) which endpoint the SemiParametricModel is associated with

subgroup

(character) which subgroup the SemiParametricModel is associated with (or NA if not associated with any)

covariates

(character vector) names of covariates used when fitting the Cox model if any

strata

(character vector) names of covariates to be stratified when fitting the Cox model

conf.type

("none", "plain", "log" [default], "log-log") argument passed to survfit

ties

("efron", "breslow" (default), "exact") argument passed to Coxph


scientific-computing-solutions/sibyl documentation built on May 21, 2019, 8:40 a.m.