powered by
The function provides 3 tests for comparing models estimated from fitCox function. The tests are: Likelihood Ratio Test, Wald Test and Logrank Test.
testCox(fitCox)
a result of function fitCox.
a data.frame with p-values of 3 tests for each risk.
fitCox
# NOT RUN { fitC <- fitCox(time = LUAD$time, risk = LUAD$event, group = LUAD$gender, cens = "alive") testCox(fitC) # }
Run the code above in your browser using DataLab