{"id":13711978,"url":"https://github.com/jtlandis/ggside","last_synced_at":"2026-02-21T00:02:32.833Z","repository":{"id":43190515,"uuid":"281539101","full_name":"jtlandis/ggside","owner":"jtlandis","description":"ggplot2 extension allowing for plotting various geometries as side panels using the ggplot2 API","archived":false,"fork":false,"pushed_at":"2025-11-25T03:53:52.000Z","size":13676,"stargazers_count":353,"open_issues_count":3,"forks_count":17,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-08T21:57:22.937Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://jtlandis.github.io/ggside/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jtlandis.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-07-22T01:03:09.000Z","updated_at":"2025-12-06T06:45:41.000Z","dependencies_parsed_at":"2024-01-07T01:39:10.088Z","dependency_job_id":"3a87a98f-4103-495e-b48d-1fdd9b489f2c","html_url":"https://github.com/jtlandis/ggside","commit_stats":{"total_commits":429,"total_committers":5,"mean_commits":85.8,"dds":"0.12354312354312358","last_synced_commit":"83002b33b4da57d4a4f20dbd3da18484eb228b9a"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/jtlandis/ggside","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtlandis%2Fggside","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtlandis%2Fggside/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtlandis%2Fggside/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtlandis%2Fggside/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jtlandis","download_url":"https://codeload.github.com/jtlandis/ggside/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtlandis%2Fggside/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29668633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T23:24:07.480Z","status":"ssl_error","status_checked_at":"2026-02-20T23:24:06.202Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-08-02T23:01:13.608Z","updated_at":"2026-02-21T00:02:32.777Z","avatar_url":"https://github.com/jtlandis.png","language":"R","funding_links":[],"categories":["Plot layers","R"],"sub_categories":[],"readme":"---\ntitle: \"README\"\nauthor: \"Justin Landis\"\ndate: \"07/20/2022\"\noutput: github_document\n---\n\n```{r setup, include=FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\"\n)\n```\n\n\u003cdiv style=\"margin-bottom:200px\"\u003e\n# ggside \u003cimg src=\"inst/figures/ggside.png\" align=\"right\" height=\"279\" /\u003e\n\n\u003c!-- badges: start --\u003e\n[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version-ago/ggside)](https://cran.r-project.org/package=ggside)\n[![CRAN_Download_Badge](http://cranlogs.r-pkg.org/badges/ggside)](https://cran.r-project.org/package=ggside)\n[![CRAN_Download_Badge](http://cranlogs.r-pkg.org/badges/grand-total/ggside)](https://cran.r-project.org/package=ggside)\n[![R-CMD-check](https://github.com/jtlandis/ggside/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/jtlandis/ggside/actions/workflows/R-CMD-check.yaml)\n[![Codecov test coverage](https://codecov.io/gh/jtlandis/ggside/branch/main/graph/badge.svg)](https://app.codecov.io/gh/jtlandis/ggside?branch=main)\n\u003c!-- badges: end --\u003e\n\n\u003c/div\u003e\n\n## Overview\n\nThe R package ggside expands on the ggplot2 package. This package allows the user to add graphical information about one of the main panel's axis. This is particularly useful for metadata for discrete axis, or summary graphics on a continuous axis such as a boxplot or a density distribution.\n\n## Installation\n\nPlease install from CRAN for the latest stable version of `ggside`. You can also install from the Github as seen below.\n\n```{r, eval = FALSE}\n#CRAN\nutils::install.packages(\"ggside\")\n#Github\ndevtools::install_github(\"jtlandis/ggside\")\n```\n\n## Usage\n\nUsing this package is similar to adding any additional layer to a ggplot. All geometries supported by ggside follow a pattern like `geom_xside*` or `geom_yside*` which will add that geometry to either the x side panel or the y side panel respectively. If you add `geom_xsidedensity` to a plot, then this places a density geometry in its own panel that is positioned by default above the main panel. This panel will share the same x axis of the main panel but will have an independent y axis. Take the following example from the ggplot2 readme.\n\n```{r example}\nlibrary(ggplot2)\nlibrary(ggside)\n\nggplot(mpg, aes(displ, hwy, colour = class)) + \n  geom_point(size = 2) +\n  geom_xsidedensity(aes(y = after_stat(density)), position = \"stack\") +\n  geom_ysidedensity(aes(x = after_stat(density)), position = \"stack\") +\n  theme(axis.text.x = element_text(angle = 90, vjust = .5))\n  \n```\n\nAfter version `0.3.0` you no longer __need__ to use `scale_(y|x)side(x|y)_*()` to mix discrete and continuous axes. `ggside` geom's have their default positional aesthetics `x` and `y` aesthetics to be prepended with `ysidex` and `xsidey` respectively under the hood. Now you may mix discrete and continuous axes with ease.\n\n```{r example-mix-scales}\nggplot(mpg, aes(displ, hwy, colour = class)) + \n  geom_point(size = 2) +\n  geom_xsideboxplot(aes(y =class), orientation = \"y\") +\n  geom_ysidedensity(aes(x = after_stat(density)), position = \"stack\") +\n  scale_ysidex_continuous(guide = guide_axis(angle = 90), minor_breaks = NULL) +\n  theme(ggside.panel.scale = .3)\n```\n\nWith version 0.2.0, more theme elements allow for better control over how side panels are rendered.\n\n```{r example-side-themes, warning=F}\nggplot(iris, aes(Sepal.Width, Sepal.Length, fill = Species)) +\n  geom_point(aes(color = Species)) +\n  geom_xsidedensity(alpha = .3, position = \"stack\") +\n  geom_ysideboxplot(aes(x = Species), orientation = \"x\") +\n  scale_ysidex_discrete(guide = guide_axis(angle = 45)) +\n  theme_dark() +\n  theme(ggside.panel.scale = .3,\n        ggside.panel.border = element_rect(NA, \"red\", linewidth = 2),\n        ggside.panel.grid = element_line(\"black\", linewidth = .1, linetype = \"dotted\"),\n        ggside.panel.background = element_blank()) +\n  guides(color = \"none\", fill = \"none\")\n```\n\n\nFor a more detailed guide please see `vignette('ggside_basic_usage')` for more information.\n\n\n\n## Issues and Bug Reporting\n\nIf you find any issues or want to suggest an enhancement, please make a post at [jtlandis/ggside](https://github.com/jtlandis/ggside/issues).\n\n## Known Issues\n\n\nThe following section will summarize issues that are present on the current CRAN release. These will either be fixed on the main branch of this git repository, or currently in development to be fixed on one of the development branches. The current CRAN version of `ggside` is v0.3.1.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtlandis%2Fggside","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjtlandis%2Fggside","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtlandis%2Fggside/lists"}