https://github.com/rsquaredacademy/vistributions
Visualize probability distributions
https://github.com/rsquaredacademy/vistributions
ggplot2 plotly probability-distribution r visualization
Last synced: about 1 year ago
JSON representation
Visualize probability distributions
- Host: GitHub
- URL: https://github.com/rsquaredacademy/vistributions
- Owner: rsquaredacademy
- License: other
- Created: 2018-11-15T09:18:13.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-07T11:47:47.000Z (over 1 year ago)
- Last Synced: 2025-04-13T14:53:51.031Z (about 1 year ago)
- Topics: ggplot2, plotly, probability-distribution, r, visualization
- Language: R
- Homepage: https://vistributions.rsquaredacademy.com
- Size: 9.94 MB
- Stars: 12
- Watchers: 1
- Forks: 4
- Open Issues: 6
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
---
output: github_document
---
```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# vistributions
> Visualize probability distributions
[](https://cran.r-project.org/package=vistributions)
[](https://github.com/rsquaredacademy/vistributions/actions/workflows/R-CMD-check.yaml)
[](https://app.codecov.io/github/rsquaredacademy/vistributions?branch=master)
## Installation
```{r cran-installation, eval = FALSE}
# Install release version from CRAN
install.packages("vistributions")
# Install development version from GitHub
# install.packages("devtools")
devtools::install_github("rsquaredacademy/vistributions")
```
## Articles
- [Explore Distributions](https://vistributions.rsquaredacademy.com/articles/introduction-to-vistributions.html)
## Usage
```{r, echo=FALSE, message=FALSE}
library(vistributions)
```
### Normal Distribution
```{r normal}
# visualize normal distribution
vdist_normal_plot()
# visualize quantiles out of given probability
vdist_normal_perc(0.95, mean = 2, sd = 1.36, type = 'both')
# visualize probability from a given quantile
vdist_normal_prob(c(-1.74, 1.83), type = 'both')
```
## Getting Help
If you encounter a bug, please file a minimal reproducible example using
[reprex](https://reprex.tidyverse.org/index.html) on github. For questions
and clarifications, use [StackOverflow](https://stackoverflow.com/).