PwcOSInt: Helper Function of 'PWCsurvOS()'

View source: R/survivalFunctions.R

PwcOSIntR Documentation

Helper Function of PWCsurvOS()

Description

Helper Function of PWCsurvOS()

Usage

PwcOSInt(x, t, h01, h02, h12, pw01, pw02, pw12)

Arguments

x

(numeric)
variable of integration.

t

(numeric)
study time-points.

h01

(⁠numeric vector⁠)
constant transition hazards for 0 to 1 transition.

h02

(⁠numeric vector⁠)
constant transition hazards for 0 to 2 transition.

h12

(⁠numeric vector⁠)
constant transition hazards for 1 to 2 transition.

pw01

(⁠numeric vector⁠)
time intervals for the piecewise constant hazards h01.

pw02

(⁠numeric vector⁠)
time intervals for the piecewise constant hazards h02.

pw12

(⁠numeric vector⁠)
time intervals for the piecewise constant hazards h12.

Value

Numeric results of the integrand used to calculate the OS survival function for piecewise constant transition hazards, see PWCsurvOS.


simIDM documentation built on May 29, 2024, 6:38 a.m.