Formula: F_k(t) = integral_0^t S(u-) lambda_k(u) du
Value
Whatever Crrcim returns.
Details
cumcif and crrcim are the same Aalen-Johansen
estimator; this function forwards. Here cause carries the
per-subject event-type vector.
Examples
V <- c(1, 2, 3, 4, 5, 6, 7, 8)
Cumcif(V, V)
#> $estimate
#> [1] 0.125
#>
#> $time
#> [1] 1 2 3 4 5 6 7 8
#>
#> $cif
#> [1] 0.125 0.125 0.125 0.125 0.125 0.125 0.125 0.125
#>
#> $surv
#> [1] 0.875 0.750 0.625 0.500 0.375 0.250 0.125 0.000
#>
#> $n_risk
#> [1] 8 7 6 5 4 3 2 1
#>
#> $n_event
#> [1] 1 0 0 0 0 0 0 0
#>
#> $n
#> [1] 8
#>
#> $method
#> [1] "Aalen-Johansen cumulative incidence function"
#>
#> attr(,"class")
#> [1] "morie_rich_result" "list"
