View source: R/inv_weibull_fun.R
inv_weibull_fun | R Documentation |
Inverse Weibull function
inv_weibull_fun(q, p)
q |
Vector of probabilities. |
p |
Vector of parameters p = c(alpha, beta). |
x
at each probability.
weibull_fun
library(ggplot2) yseq <- seq(0, 1, .01) xseq <- inv_weibull_fun(yseq, c(2, 4)) curve <- data.frame(x = xseq, y = yseq) ggplot(curve, aes(x = x, y = y)) + geom_line()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.