library(EstimationTools)
#----------------------------------------------------------------------------
# Example: Hazard rate function
hazard_rate_key(x=1, sigma=2, beta=3)
curve(hazard_rate_key(x, sigma=2, beta=3), from=0, to=10, ylab='g(x)')
#----------------------------------------------------------------------------
Run the code above in your browser using DataLab