{"id":23210138,"url":"https://github.com/ethanbass/ggtukey","last_synced_at":"2025-04-05T12:24:10.129Z","repository":{"id":63782227,"uuid":"565229538","full_name":"ethanbass/ggtukey","owner":"ethanbass","description":"Easily add compact letter display (i.e. \"tukey letters\") to ggplot figures","archived":false,"fork":false,"pushed_at":"2023-05-10T21:43:45.000Z","size":21528,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T23:39:36.367Z","etag":null,"topics":["cld","data-visualization","ggplot-extension","ggplot2","r","r-package","rstats"],"latest_commit_sha":null,"homepage":"https://ethanbass.github.io/ggtukey/","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/ethanbass.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","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":"2022-11-12T18:32:34.000Z","updated_at":"2024-03-13T05:38:22.000Z","dependencies_parsed_at":"2024-12-18T18:34:03.741Z","dependency_job_id":"453e3b31-cbba-4fcd-8bf3-171a5f1a9cdf","html_url":"https://github.com/ethanbass/ggtukey","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanbass%2Fggtukey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanbass%2Fggtukey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanbass%2Fggtukey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanbass%2Fggtukey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ethanbass","download_url":"https://codeload.github.com/ethanbass/ggtukey/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247334461,"owners_count":20922216,"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":["cld","data-visualization","ggplot-extension","ggplot2","r","r-package","rstats"],"created_at":"2024-12-18T18:32:09.243Z","updated_at":"2025-04-05T12:24:10.103Z","avatar_url":"https://github.com/ethanbass.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ggtukey\n\u003c!-- badges: start --\u003e\n  [![ggtukey status badge](https://ethanbass.r-universe.dev/badges/ggtukey)](https://ethanbass.r-universe.dev)\n  [![stability-experimental](https://img.shields.io/badge/stability-experimental-orange.svg)](https://github.com/emersion/stability-badges#experimental)\n\u003c!-- badges: end --\u003e\n\n# Introduction\n\nThis package provides a simple way to visualize paired comparisons by adding [compact letter displays](https://en.wikipedia.org/wiki/Compact_letter_display) (i.e. \"Tukey letters\") to 'ggplot2' figures.\n\n# Installation\n\nIt is currently recommended to install `ggtukey` from GitHub:\n\n\n```\ninstall.packages(\"devtools\")\ndevtools::install_github(\"https://github.com/ethanbass/ggtukey/\")\n```\n\nor from [R Universe](https://ethanbass.r-universe.dev/):\n\n```\ninstall.packages(\"ggtukey\", repos=\"https://ethanbass.r-universe.dev/\", type=\"source\")\n```\n\n\n# Usage\n\n`ggtukey` provides a new geom (`geom_tukey`) for overlaying compact letter displays (CLDs) on ggplot figures.\n\n```\nlibrary(ggtukey)\nlibrary(ggplot2)\ndata \u003c- data.frame(\"Category\" = c(rep(\"Low\", 10), rep(\"Medium\", 10), rep(\"High\", 10)),\n                   \"Value\" = c(rnorm(10, 5), rnorm(10, 5.5), rnorm(10, 10)),\n                   \"Size\" = c(\"Big\",\"Small\"))\n                   \nggplot(data, aes(x=Category,y=Value)) + \n  geom_boxplot() + \n  facet_wrap(~Size) +\n  geom_tukey(hjust=-0.2,vjust=-0.2)\n```\n \nThere is also a convenience function (`boxplot_letters`) for quickly producing these types of figures as shown below.\n\n```\nboxplot_letters(data, x=Category, y=Value, group=Size)\n```\n\nFor more examples and details on different options for customization, please consult the package [documentation](https://ethanbass.github.io/ggtukey/reference/index.html) and [vignette](https://ethanbass.github.io/ggtukey/articles/ggtukey.html). \n\n### Citation\n\nYou can cite `ggtukey` as follows:\n\nBass, E. (2022). ggtukey: Compact Letter Displays for 'ggplot2' (v0.4.0). (https://ethanbass.github.io/ggtukey/). \n\n# Further Reading\n\nPiepho, Hans-Peter. An Algorithm for a Letter-Based Representation of All-Pairwise Comparisons. Journal of Computational and Graphical Statistics 13, no. 2 (June 1, 2004): 456–66. https://doi.org/10.1198/1061860043515.\n\nPiepho, Hans-Peter. “Letters in Mean Comparisons: What They Do and Don’t Mean.” Agronomy Journal 110, no. 2 (2018): 431–34.  https://doi.org/10.2134/agronj2017.10.0580.\n\nGraves S, Piepho H, Dorai-Raj LSwhfS (2019). multcompView: Visualizations of Paired Comparisons. R package version 0.1-8. https://CRAN.R-project.org/package=multcompView.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethanbass%2Fggtukey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fethanbass%2Fggtukey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethanbass%2Fggtukey/lists"}