Learn R Programming

Colossus (version 1.4.9)

ColossusCoxSurv: Interprets basic cox survival formula RHS

Description

ColossusCoxSurv assigns and interprets interval columns for cox model. This functions is called using the arguments for Cox in the right-hand side of the formula. Uses an interval start time, end time, and event status. These are expected to be in order or named: tstart, tend, and event. The Fine-Gray and Stratified versions use strata and weight named options or the last two entries.

Usage

ColossusCoxSurv(...)

Value

returns list with interval endpoints and event

Arguments

...

entries for a cox survival object, tstart, tend, and event. Either in order or named. If unnamed and two entries, tend and event are assumed.

See Also

Other Formula Interpretation: ColossusLogitSurv(), ColossusPoisSurv(), get_form(), get_form_joint()