Learn R Programming

cr17 (version 0.1.0)

testReg: Regresion models difference testing

Description

Testing differences in Competing Risks Regression Models between groups.

Usage

testReg(reg, conf.int = 0.95)

Arguments

reg

a result of fitReg function.

conf.int

level of two-sided confidence interval (default 0.95).

Value

a data.frame containing p-values of Modified Log-Rank Test for each type of event. The test compares differences between groups in Competing Risks Cox Models.

See Also

fitReg

Examples

Run this code
# NOT RUN {
fitR <- fitReg(time = LUAD$time, risk = LUAD$event, group = LUAD$gender, cens = "alive")
testReg(fitR)
# }

Run the code above in your browser using DataLab