Learn R Programming

cr17 (version 0.1.0)

testCuminc: K-sample Test for Competing Risks

Description

tests differences in cumulative incidences function between groups using K-sample test.

Usage

testCuminc(ci)

Arguments

ci

a result of fitCumin function.

Value

data.frame containing p-values of K-sample test for each risk.

See Also

fitCuminc

Examples

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

Run the code above in your browser using DataLab