const_hazard function

Constant hazard function

Constant hazard function

Hazard function for use with gaussian underlying distribution. methods

const_hazard(r, lambda)

Arguments

  • r: The current R vector length.
  • lambda: The parameter for the hazard function.

Returns

A vector of the hazard function for the length of the current R vector.

Examples

H<- const_hazard(10, 1/100)
  • Maintainer: Andrea Pagotto
  • License: GPL-3
  • Last published: 2019-04-21

Useful links