calcIntegralSurv2_cpp | R Documentation |
Compute the integral with respect to the jump in survival for pairs where both outcomes are censored, i.e. \int S1(t+\tau) dS2(t)
.
calcIntegralSurv2_cpp(
time,
survival,
dSurvival,
index_survival,
index_dSurvival1,
index_dSurvival2,
lastSurv,
lastdSurv,
iidNuisance,
nJump
)
time |
[numeric vector] vector of jump time for S2. |
survival |
[numeric vector] the survival at each jump time: |
index_survival |
[numeric vector] the position of survival parameter |
index_dSurvival1 |
[numeric vector] the position of survival parameter |
index_dSurvival2 |
[numeric vector] the position of survival parameter |
lastSurv |
[numeric] the value of S2 at the end of the follow-up. |
iidNuisance |
[logical] should the derivative of the integral relative to the S1 and S2 parameter be output. |
nJump |
[integer] the number of jump times relative to S2. |
dsurvival |
[numeric vector] the jump in survival at each jump time: |
Brice Ozenne
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.