gggda
ggplot2 extension for multivariable data visualizations, spun off from ordr
Science Score: 26.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
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.9%) to scientific vocabulary
Keywords
Repository
ggplot2 extension for multivariable data visualizations, spun off from ordr
Basic Info
- Host: GitHub
- Owner: corybrunson
- License: gpl-3.0
- Language: R
- Default Branch: main
- Homepage: https://corybrunson.github.io/gggda/
- Size: 105 MB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 12
- Releases: 1
Topics
Metadata Files
README.md
gggda
{gggda} extends {ggplot2} with coordinate systems, statistical transformations, and geometric constructions useful to the analysis and visualization of multivariate data, including bivariate generalizations of univariate tools and tools designed for geometric data analysis and ordination. It is spun off from and designed to interoperate with {ordr}.
usage
installation
{gggda} is now on CRAN and can be installed in the standard way:
r
install.packages("gggda")
Or install the development version as follows using {pak}:
r
pak::pkg_install("corybrunson/gggda")
illustration
Use the new coordinate system to fix the aspect ratio of the plotting window as well as of the coordinates:
``` r
rectangular window (custom aspect ratio)
ggplot(mpg, aes(x = displ, y = hwy)) + coordrect(ratio = .1, windowratio = 1/2) + geom_point() ```
<!-- -->
``` r
square window (unit aspect ratio)
ggplot(mpg, aes(x = cty, y = hwy)) + coordsquare(xlim = c(0, NA), ylim = c(0, NA)) + geompoint() ```
<!-- -->
Some new statistical transformations provide new ways of analyzing bivariate data, for example the depth stat that deploys the {ddalpha} package and mimics the density stat by pairing with the contour geom:
``` r
depth medians and quartiles contours by group
ggplot(mpg, aes(displ, cty, color = drv, fill = drv)) + statdepth(bins = 4) + statcenter(fun.ord = depth_median) ```
<!-- -->
Several new geometric constructions have a wide range of uses, including biplots, with two-dimensional errorbars being an underused example:
``` r
centroids with 2-standard deviation bars for both variables
ggplot(mpg, aes(displ, cty, color = factor(cyl))) + geompoint() + geompointranges(fun.data = mean_sdl) ```
<!-- -->
Finally, some stats and geoms are designed to work as pairs, most notably the bagplot layer modeled on the boxplot in {ggplot2}:
``` r
faceted bagplots
ggplot(mpg, aes(displ, hwy, color = drv, fill = drv)) + facetwrap(vars(drv)) + statbagplot() ```
<!-- -->
acknowledgments
contribute
Any feedback on the package is very welcome! If you encounter confusion or errors, do create an issue, with a minimal reproducible example if feasible. If you have requests, suggestions, or your own implementations for new features, feel free to create an issue or submit a pull request. Please try to follow the contributing guidelines and respect the Code of Conduct.
resources
Development of this package benefitted from the use of equipment and the support of colleagues at UConn Health and at the University of Florida. See the {ordr} repo for detailed acknowledgments.
Owner
- Name: Cory Brunson
- Login: corybrunson
- Kind: user
- Location: Gainesville, FL
- Company: @LaboratoryForSystemsMedicine
- Website: http://systemsmedicine.pulmonary.medicine.ufl.edu/profile/brunson-jason/
- Twitter: cornelioid
- Repositories: 14
- Profile: https://github.com/corybrunson
Mathematician by training, data scientist by testing. Relatively new to pretty much everything.
GitHub Events
Total
- Issues event: 12
- Watch event: 1
- Delete event: 3
- Issue comment event: 11
- Push event: 37
- Create event: 7
Last Year
- Issues event: 12
- Watch event: 1
- Delete event: 3
- Issue comment event: 11
- Push event: 37
- Create event: 7
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 14
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 2
- Total pull request authors: 0
- Average comments per issue: 0.57
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 10
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 2
- Pull request authors: 0
- Average comments per issue: 0.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- corybrunson (13)
- friendly (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 521 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 2
- Total maintainers: 1
cran.r-project.org: gggda
A 'ggplot2' Extension for Geometric Data Analysis
- Homepage: https://github.com/corybrunson/gggda
- Documentation: http://cran.r-project.org/web/packages/gggda/gggda.pdf
- License: GPL-3
-
Latest release: 0.1.1
published 7 months ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.3.0 depends
- ggplot2 * depends
- labeling * imports
- rlang * imports
- tibble * imports
- MASS * suggests
- ddalpha * suggests
- gridExtra * suggests
- knitr * suggests
- mlpack * suggests
- rmarkdown * suggests
- sessioninfo * suggests
- testthat * suggests