| surv.weibull_dist | R Documentation |
Returns a function that computes S(t) = P(X > t) for the Weibull
distribution.
## S3 method for class 'weibull_dist'
surv(x, ...)
x |
A |
... |
Additional arguments (not used). |
A function function(t, log.p = FALSE, ...) returning the
survival probability (or log-survival probability) at t.
x <- weibull_dist(shape = 2, scale = 3)
S <- surv(x)
S(1)
S(3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.