const_hazard {ocp} | R Documentation |
Constant hazard function
Description
Hazard function for use with gaussian underlying distribution.
Usage
const_hazard(r, lambda)
Arguments
r |
The current R vector length. |
lambda |
The parameter for the hazard function. |
Value
A vector of the hazard function for the length of the current R vector.
Examples
H<- const_hazard(10, 1/100)
[Package ocp version 0.1.1 Index]