| hazard.weibull_dist | R Documentation |
Returns a function that evaluates the Weibull hazard rate
h(t) = (shape/scale)(t/scale)^{shape-1} for t > 0.
## S3 method for class 'weibull_dist'
hazard(x, ...)
x |
A |
... |
Additional arguments (not used). |
A function function(t, log = FALSE) returning the hazard
(or log-hazard) at t.
x <- weibull_dist(shape = 2, scale = 3)
h <- hazard(x)
h(1)
h(3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.