expvalOSInteg {simIDM}R Documentation

Helper Function for Computing E(OS^2)

Description

Helper Function for Computing E(OS^2)

Usage

expvalOSInteg(x, transition)

Arguments

x

(numeric)
variable of integration.

transition

(TransitionParameters)
see exponential_transition(), weibull_transition() or piecewise_exponential() for details.

Value

Numeric results of the integrand used to calculate E(OS^2).

Examples

transition <- exponential_transition(h01 = 1.2, h02 = 1.5, h12 = 1.6)
expvalOSInteg(0.4, transition)

[Package simIDM version 0.1.0 Index]