Description Usage Arguments Value Examples

Weibull function of the form * (1 - exp(-(x/α)^β)*

1 | ```
weibull_fun(x, p)
``` |

`x` |
Vector of values of the explanatory variable. |

`p` |
Vector of parameters |

Probability at each `x`

.

1 2 3 4 | ```
xseq <- seq(0, 4, .01)
yseq <- weibull_fun(xseq, c(2, 4))
curve <- data.frame(x = xseq, y = yseq)
ggplot(curve, aes(x = x, y = y)) + geom_line()
``` |

```
Loading required package: DEoptim
Loading required package: parallel
DEoptim package
Differential Evolution algorithm in R
Authors: D. Ardia, K. Mullen, B. Peterson and J. Ulrich
Loading required package: dplyr
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
Loading required package: ggplot2
Attaching package: 'quickpsy'
The following object is masked from 'package:stats':
deviance
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.