testCox: Testing differences between groups in Cox models.

Description Usage Arguments Value See Also Examples

View source: R/fitAndTestCox.R

Description

The function provides 3 tests for comparing models estimated from fitCox function. The tests are: Likelihood Ratio Test, Wald Test and Logrank Test.

Usage

1

Arguments

fitCox

a result of function fitCox.

Value

a data.frame with p-values of 3 tests for each risk.

See Also

fitCox

Examples

1
2
fitC <- fitCox(time = LUAD$time, risk = LUAD$event, group = LUAD$gender, cens = "alive")
testCox(fitC)

cr17 documentation built on May 1, 2019, 7:31 p.m.