coxSpecial: Special characters in Cox model

Description Usage Arguments Details Author(s)

Description

Return the special character(s) of the Cox model, e.g. used to indicate the strata variables.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
coxSpecial(object)

## S3 method for class 'coxph'
coxSpecial(object)

## S3 method for class 'cph'
coxSpecial(object)

## S3 method for class 'phreg'
coxSpecial(object)

Arguments

object

The fitted Cox regression model object either obtained with coxph (survival package), cph (rms package), or phreg (mets package).

Details

Must return a list with at least one element strata indicating the character in the formula marking the variable(s) defining the strata.

Author(s)

Brice Ozenne broz@sund.ku.dk


bozenne/riskRegressionLight documentation built on May 7, 2019, 12:52 a.m.