Description Usage Arguments Value Examples
This is a PMF wrapper function. It receives the distribution name as a parameter, making the function distribution-dynamic. Distribution parameters passed in ... are simply transmitted to the underlying distribution function.
1 | probability_mass_function(dist_name, x, ...)
|
x |
a vector of quantiles |
a vector of probabilities
1 | probability_mass_function('poissonpert',x=c(1,5,7), lambda=3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.