Project Details
Project Title: visualize
Project URL: http://cran.r-project.org/web/packages/visualize/
Code Repository: https://github.com/coatless/visualize
Project Version: 4.3.0
Project Status: Active
Project Description: Visualize is an R package meant to graph probability distributions according to user supplied parameters. The package provides support for all standard distributions included in R. Furthermore, when working with discrete distributions, the user is able to specify whether the inequality is strict or not. The package has been confirmed to being in use at the University of Illinois at Urbana-Champaign and at the University of Amsterdam.
The package supports graphing the following distributions:
|——————-+————-|
Discrete | Continuous |
---|---|
Binomial | Uniform |
Negative Binomial | Beta |
Poisson | Normal |
Geometric | Student’s t |
Hypergeometric | Gamma |
Exponential | |
Chisquare | |
Log Normal | |
Logistic | |
Cauchy | |
——————-+————- |
Screenshots:
Sample Continuous Distributions
Sample Discrete Distributions
Sample Code
# Install if needed
# install.packages("visualize")
library("visualize")
par(mfrow=c(2,2))
# Continuous Distribution Sample
visualize.norm(stat=c(-1,1),mu=0,sd=1,section="bounded")
visualize.t(stat=c(-1,1),df=25,section="tails")
visualize.f(stat=1.5,df1=5,df2=4,section="lower")
visualize.cauchy(stat = 2, location = 1, scale = 2, section="upper")
# Discrete Distribution Sample
visualize.binom(stat = 3, size=20, prob=.3, section="lower")
visualize.pois(stat = 3, lambda=3.5, section="upper",strict=TRUE)
visualize.hyper(stat = c(2,5), m = 10, n = 7, k = 5, section="bounded",strict=c(FALSE,TRUE))
visualize.nbinom(stat = c(4,7), size = 2, prob = 0.35, section = "tails", strict=c(FALSE,FALSE))