Shiny app: Distributions of random variables
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
There is a new version of my Distributions of Random Variables Shiny app available.
This is a cleaned up modern revision of my original 2013 app series involving random variable probability distributions.
The primary change is a switch to ggplot2
from base graphics. I have added this app to my shiny-apps GitHub repository so the source code is available, including a script containing all those pesky plotmath
expressions.
The app draws and plots samples from various well known discrete and continuous probability distributions, all of which are available in base R with the single exception of the Pareto distribution. To include this distribution, I used the VGAM
package. The plots include an overlay of the formula for the selected probability mass or density function.
Available discrete distributions:
- Bernoulli
- Binomial
- Uniform
- Geometric
- Hypergeometric
- Negative Binomial
- Poisson
Available continuous distributions:
- Beta
- Cauchy
- Chi-squared
- Exponential
- F
- Gamma
- Laplace (Double Exponential)
- Logistic
- Log-Normal
- Normal
- Pareto
- t
- Uniform
- Weibull
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.