const_hazard: Constant hazard function

Description Usage Arguments Value Examples

View source: R/hazard.R

Description

Hazard function for use with gaussian underlying distribution.

Usage

1
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

1
H<- const_hazard(10, 1/100)

ocp documentation built on May 2, 2019, 3:46 a.m.