Learn R Programming

InformativeCensoring (version 0.3.6)

cox.zph: Test Cox proportional hazards assumption

Description

See cox.zph function in the survival package

Usage

cox.zph(fit, transform = "km", global = TRUE, ...)

Arguments

fit

the result of fitting a Cox regression model, using the coxph or coxme functions.

transform

a character string specifying how the survival times should be transformed before the test is performed. Possible values are "km", "rank", "identity" or a function of one argument.

global

should a global chi-square test be done, in addition to the per-variable or per-term tests tests.

...

Additional arguments to cox.zph, for example index if fit is a GammaStatList object

See Also