dot-calcIntegralSurv_cpp: C++ Function Computing the Integral Terms for the Peron...

.calcIntegralSurv_cppR Documentation

C++ Function Computing the Integral Terms for the Peron Method in the survival case.

Description

Compute the integral with respect to the jump in survival for pairs where both outcomes are censored.

Usage

.calcIntegralSurv_cpp(
  survival,
  start,
  lastSurv,
  lastdSurv,
  returnDeriv,
  derivSurv,
  derivSurvD
)

Arguments

survival

[matrix] Contains the jump times in the first column, the survival in the other arm at times plus threshold in the second column, and the jump in survival in the third column.

start

[integer] time at which to start the integral.

lastSurv

[numeric,>0] last survival value for the survival function in the second column.

lastdSurv

[numeric,>0] last survival value for the survival function in the third column.

returnDeriv

[logical] should the derivative regarding the survival parameters be return.

derivSurv

[matrix] matrix column filled of 0 whose number of rows is the number of parameters of the survival.

derivSurvD

[matrix] matrix column filled of 0 whose number of rows is the number of parameters of the survival used to compute the jumps.

Author(s)

Brice Ozenne


BuyseTest documentation built on March 31, 2023, 6:55 p.m.