Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.5%) to scientific vocabulary
Keywords
ggplot2
quantiles
r
Last synced: 7 months ago
·
JSON representation
Repository
Quantile Binned Plots
Basic Info
- Host: GitHub
- Owner: edwindj
- License: other
- Language: R
- Default Branch: main
- Homepage: https://edwindj.github.io/qbinplots/
- Size: 24.1 MB
Statistics
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 7
- Releases: 0
Topics
ggplot2
quantiles
r
Created over 1 year ago
· Last pushed about 1 year ago
Metadata Files
Readme
License
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# qbinplots
[](https://CRAN.R-project.org/package=qbinplots) [](https://github.com/edwindj/qbinplots/actions/workflows/R-CMD-check.yaml)
[](https://lifecycle.r-lib.org/articles/stages.html#experimental)
This package creates plots using quantile binning.
Quantile binning is an exploratory data analysis tool that helps to see
the distribution of the variables in a dataset as a function of the variable
that is binned.
## Installation
You can install the released version of `qbinplots` from [CRAN](https://CRAN.R-project.org) with:
``` r
install.packages("qbinplots")
```
You can install the development version of `qbinplots` from [GitHub](https://github.com/) with:
``` r
remotes::install_github("edwindj/qbinplots")
```
## Example
```{r example}
library(qbinplots)
## basic example code
```
A quantile binning boxplot
```{r percentile_iris}
qbin_boxplot(iris, "Sepal.Length", n = 12)
```
vs
A quantile binning barplot
```{r}
qbin_barplot(iris, "Sepal.Length", n = 12)
```
```{r}
table_plot(iris, "Sepal.Length", n=12)
```
vs
A quantile binning heatmap
```{r}
qbin_heatmap(iris, "Sepal.Length", n=12, auto_fill = TRUE)
```
```{r}
cond_boxplot(iris, "Sepal.Length", n=12, auto_fill = TRUE)
```
```{r}
cond_barplot(iris, "Sepal.Length", n=12, auto_fill = TRUE)
```
```{r}
funq_plot(iris, "Sepal.Length", 12, auto_fill = TRUE)
```
```{r}
funq_plot(iris, "Sepal.Length", overlap = TRUE, min_bin_size = 20)
```
Choosing "Petal.Width"
```{r}
funq_plot(iris, "Petal.Width", n=12)
```
```{r qbin_boxplot_penquins}
library(palmerpenguins)
qbin_lineplot(penguins[1:7], x="body_mass_g", n = 19, ncols = 4)
```
Or the well-known `diamonds` dataset
```{r}
data("diamonds", package = "ggplot2")
diam <- diamonds |>
subset(
select = c(carat, price, cut, color, clarity)
)
table_plot(diam, "carat")
```
```{r}
qbin_boxplot(diam, "carat")
```
```{r}
funq_plot(diam, "carat")
```
We can zoom in on the `carat` variable, because the upper quantile bins are not very informative.
```{r}
funq_plot(
diam,
"carat",
auto_fill = TRUE,
xlim = c(0, 2.5)
)
```
```{r}
qbin_heatmap(
iris,
x = "Sepal.Length",
n = 12,
type="s"
)
```
```{r}
qbin_heatmap(
iris,
x = "Sepal.Length",
overlap = TRUE
)
```
Owner
- Name: Edwin de Jonge
- Login: edwindj
- Kind: user
- Location: @edwindjonge
- Company: Statistics Netherlands (CBS)
- Twitter: edwindjonge
- Repositories: 150
- Profile: https://github.com/edwindj
ORCID: 0000-0002-6580-4718
GitHub Events
Total
- Issues event: 13
- Watch event: 3
- Issue comment event: 3
- Push event: 60
- Create event: 1
Last Year
- Issues event: 13
- Watch event: 3
- Issue comment event: 3
- Push event: 60
- Create event: 1
Issues and Pull Requests
Last synced: 7 months ago
All Time
- Total issues: 12
- Total pull requests: 0
- Average time to close issues: about 1 month
- Average time to close pull requests: N/A
- Total issue authors: 2
- Total pull request authors: 0
- Average comments per issue: 0.67
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 12
- Pull requests: 0
- Average time to close issues: about 1 month
- Average time to close pull requests: N/A
- Issue authors: 2
- Pull request authors: 0
- Average comments per issue: 0.67
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- edwindj (7)
- mtennekes (4)
Pull Request Authors
Top Labels
Issue Labels
enhancement (3)
bug (1)
question (1)
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 201 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 1
- Total maintainers: 1
cran.r-project.org: qbinplots
Quantile Binned Plots
- Homepage: https://edwindj.github.io/qbinplots/
- Documentation: http://cran.r-project.org/web/packages/qbinplots/qbinplots.pdf
- License: MIT + file LICENSE
-
Latest release: 0.3.3
published about 1 year ago
Rankings
Dependent packages count: 27.2%
Dependent repos count: 33.4%
Average: 49.2%
Downloads: 87.1%
Maintainers (1)
Last synced:
8 months ago
Dependencies
.github/workflows/R-CMD-check.yaml
actions
- actions/checkout v4 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml
actions
- JamesIves/github-pages-deploy-action v4.5.0 composite
- actions/checkout v4 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION
cran
- ggplot2 * depends
- data.table * imports
- patchwork * imports
- scales * imports
- palmerpenguins * suggests
- tinytest * suggests