getPWCHazard {simIDM}R Documentation

Piecewise Constant Hazard Values

Description

This returns piecewise constant hazard values at specified time points.

Usage

getPWCHazard(haz, pw, x)

Arguments

haz

(numeric)
piecewise constant input hazard.

pw

(numeric)
time intervals for the piecewise constant hazard.

x

(numeric)
time-points.

Value

Hazard values at input time-points.

Examples

getPWCHazard(c(1, 1.2, 1.4), c(0, 2, 3), c(1, 4, 6))

[Package simIDM version 0.1.0 Index]