{"id":20727574,"url":"https://github.com/flying-sheep/ggplot.multistats","last_synced_at":"2025-04-23T19:23:36.262Z","repository":{"id":56936713,"uuid":"185460187","full_name":"flying-sheep/ggplot.multistats","owner":"flying-sheep","description":"Multiple Summary Statistics for Binned Stats/Geometries","archived":false,"fork":false,"pushed_at":"2024-10-08T06:50:19.000Z","size":81,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T01:16:43.187Z","etag":null,"topics":["ggplot2","ggplot2-geom","r","statistics"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flying-sheep.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-07T18:50:12.000Z","updated_at":"2024-10-08T06:50:21.000Z","dependencies_parsed_at":"2023-11-10T12:47:53.474Z","dependency_job_id":"b0cbceab-bc9f-4ade-ad5b-b9b579a07c68","html_url":"https://github.com/flying-sheep/ggplot.multistats","commit_stats":{"total_commits":13,"total_committers":1,"mean_commits":13.0,"dds":0.0,"last_synced_commit":"557aff9d361cfbc8994abb69ec969ea622749812"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flying-sheep%2Fggplot.multistats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flying-sheep%2Fggplot.multistats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flying-sheep%2Fggplot.multistats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flying-sheep%2Fggplot.multistats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flying-sheep","download_url":"https://codeload.github.com/flying-sheep/ggplot.multistats/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250497869,"owners_count":21440409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ggplot2","ggplot2-geom","r","statistics"],"created_at":"2024-11-17T04:32:30.146Z","updated_at":"2025-04-23T19:23:36.185Z","avatar_url":"https://github.com/flying-sheep.png","language":"R","readme":"[![CRAN badge][]](https://cran.r-project.org/package=ggplot.multistats) [![Workflow badge][]](https://github.com/flying-sheep/ggplot.multistats/commits/master)\n\n[CRAN badge]: https://www.r-pkg.org/badges/version/ggplot.multistats\n[Workflow badge]: https://github.com/flying-sheep/ggplot.multistats/workflows/Build%20R%20package/badge.svg\n\nggplot.multistats\n=================\n\n`ggplot.multistats` currently provides `stat_summaries_hex` and some helpers.\n\n`stat_summaries_hex` is similar to [`ggplot2::stat_summary_hex`][stat_summary_2d],\nbut allows specifying multiple stats using the `funs` parameter (see [Example](#Example)).\n\n[stat_summary_2d]: https://ggplot2.tidyverse.org/reference/stat_summary_2d.html\n\nInstallation\n------------\n`ggplot.multistats` is on [CRAN](https://CRAN.R-project.org).\n\n```r\ninstall.packages('ggplot.multistats')\n```\n\nYou can also install the development version from GitHub:\n\n```r\n# install.packages('devtools')\ndevtools::install_github('flying-sheep/ggplot.multistats')\n```\n\nExample\n-------\nSpecify a summary variable using the `z` aesthetic\nand specify a list of `funs` to provide `after_stat`s for you:\n\n```r\nlibrary(ggplot2)\nlibrary(ggplot.multistats)\n\nggplot(iris, aes(Sepal.Width, Sepal.Length)) +\n  stat_summaries_hex(\n    aes(z = Petal.Width, fill = after_stat(median), alpha = after_stat(n)),\n    funs = c('median', n = 'length'),\n    bins = 5\n  )\n```\n\n![](example.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflying-sheep%2Fggplot.multistats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflying-sheep%2Fggplot.multistats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflying-sheep%2Fggplot.multistats/lists"}