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

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

fitC <- fitCuminc(time = LUAD$time, risk = LUAD$event, group = LUAD$gender, cens = "alive")
#> 19 cases omitted due to missing values
testCuminc(fitC)
#> death new_tumor #> K-Sample test 0.83 0.98