Title: interest in R's ggridges implementation in Plotly · Issue #1285 · plotly/plotly.R · GitHub
Open Graph Title: interest in R's ggridges implementation in Plotly · Issue #1285 · plotly/plotly.R
X Title: interest in R's ggridges implementation in Plotly · Issue #1285 · plotly/plotly.R
Description: Just a huge fan of Plotly and basically all of the ggridges plots, showing my interest here. here's an example function: pdr_ann_perav_wysum_taf_d <- function(df) { df_mn <- df %>% group_by(dv,scen) %>% summarize(annmean = 12*mean(taf)) ...
Open Graph Description: Just a huge fan of Plotly and basically all of the ggridges plots, showing my interest here. here's an example function: pdr_ann_perav_wysum_taf_d <- function(df) { df_mn <- df %>% group_by(dv,scen...
X Description: Just a huge fan of Plotly and basically all of the ggridges plots, showing my interest here. here's an example function: pdr_ann_perav_wysum_taf_d <- function(df) { df_mn <- df %>% gro...
Opengraph URL: https://github.com/plotly/plotly.R/issues/1285
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"interest in R's ggridges implementation in Plotly","articleBody":"Just a huge fan of Plotly and basically all of the ggridges plots, showing my interest here.\r\n\r\nhere's an example function:\r\n\r\npdr_ann_perav_wysum_taf_d \u003c- function(df) {\r\n df_mn \u003c- df %>% group_by(dv,scen) %>% summarize(annmean = 12*mean(taf))\r\n df_md \u003c- df %>% group_by(dv,scen,wy) %>% summarize(wysumtaf = sum(taf)) %>% group_by(scen, dv) %>% summarize(median = median(wysumtaf))\r\n df %>% filter(kind != \"storage\") %>% group_by(scen, dv, wy) %>% summarize(wytafsum = sum(taf)) \r\n %>%\r\n ggplot(aes(x=wytafsum, y=scen, color=dv, point_color=dv, fill=dv)) +\r\n geom_density_ridges(jittered_points=TRUE, scale = .95, rel_min_height = .01,\r\n point_shape = \"|\", point_size = 3, size = 0.25, \r\n position = position_points_jitter(height = 0), alpha = 0.5) +\r\n scale_y_discrete(expand = c(.01, 0)) +\r\n scale_x_continuous(expand = c(0, 0), name = \"water year total (taf) [difference]\", sec.axis = \r\n dup_axis(name = NULL)) +\r\n theme_ridges(center = TRUE) + ggtitle(\"82 water year totals, difference from baseline\") +\r\n theme_gray() +\r\n geom_point(data = df_md, mapping = aes(x = median, y = scen, color = dv), shape = 124, size = 10) +\r\n geom_point(data = df_mn, mapping = aes(x = annmean, y = scen, fill = dv), color = \"black\", shape = 21) \r\n}\r\n\r\nPlease briefly describe your problem and what output you expect. If you have a question, please don't use this form, but instead ask on the community forum \u003chttp://community.plot.ly/c/api/r> or stackoverflow \u003chttp://stackoverflow.com>.\r\n\r\nPlease include a minimal reprex. The goal of a reprex is to make it as easy as possible for me to recreate your problem so that I can fix it. If you've never heard of a reprex before, start by reading \u003chttps://github.com/jennybc/reprex#what-is-a-reprex>, and follow the advice further down the page. Do NOT include session info unless it's explicitly asked for, or you've used `reprex::reprex(..., si = TRUE)` to hide it away. \r\n\r\nDelete these instructions once you have read them.\r\n\r\n---\r\n\r\nBrief description of the problem\r\n\r\n```r\r\n# insert reprex here\r\n```\r\n","author":{"url":"https://github.com/dbo99","@type":"Person","name":"dbo99"},"datePublished":"2018-06-08T05:36:58Z","url":"https://github.com/plotly/plotly.R/issues/1285"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:307744e7-c409-567b-c1d5-602e4b491510 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8556:CC1A4:24E0E33:2EE234B:6B01877A |
| html-safe-nonce | 5b1a670d924c741837a530760d6c26a2c0a91b01e35eb5e677b7283de6d7ed6f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTU2OkNDMUE0OjI0RTBFMzM6MkVFMjM0Qjo2QjAxODc3QSIsInZpc2l0b3JfaWQiOiI0OTY2ODA5MDk4OTY1MzIxNTk0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4c656ebb02f57748221e9bb79306f02ea82d04cac3b6a748545c9aa4e403fc6c |
| hovercard-subject-tag | issue:330525658 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.R/1285/issue_layout |
| twitter:image | https://opengraph.githubassets.com/864f71943d164b0fc3aa152bb44f1c87d1a5946b1e393111f789eac320eee022/plotly/plotly.R/issues/1285 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/864f71943d164b0fc3aa152bb44f1c87d1a5946b1e393111f789eac320eee022/plotly/plotly.R/issues/1285 |
| og:image:alt | Just a huge fan of Plotly and basically all of the ggridges plots, showing my interest here. here's an example function: pdr_ann_perav_wysum_taf_d <- function(df) { df_mn <- df %>% group_by(dv,scen... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dbo99 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.R git https://github.com/plotly/plotly.R.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 14579179 |
| octolytics-dimension-repository_nwo | plotly/plotly.R |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14579179 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.R |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width