Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geom_GeomQqBand() has yet to be implemented in plotly #1705

Closed
ObristD opened this issue Feb 22, 2020 · 1 comment
Closed

geom_GeomQqBand() has yet to be implemented in plotly #1705

ObristD opened this issue Feb 22, 2020 · 1 comment

Comments

@ObristD
Copy link

ObristD commented Feb 22, 2020

It would be nice to have geom_qq_band() option from the qqplotr package available in plotly to draw confidence intervals in plots.

Here is a minimal reprex:

library(plotly)
library(ggplot2)
library(qqplotr)

df <- data.frame(x = rnorm(50))

p <- ggplot(data = df, mapping = aes(sample = x)) +
  geom_qq_band(conf = .99, fill = "blue", alpha = 0.5) +
  stat_qq_line() +
  stat_qq_point() +
  labs(x = "Theoretical Quantiles", y = "Sample Quantiles")

ggplotly(p)

### Warning message:
### In geom2trace.default(dots[[1L]][[1L]], dots[[2L]][[1L]], dots[[3L]][[1L]]) :
###  geom_GeomQqBand() has yet to be implemented in plotly.
###  If you'd like to see this geom implemented,
###  Please open an issue with your example code at
###  https://github.com/ropensci/plotly/issues
@cpsievert
Copy link
Collaborator

Thanks, added to the list in #566

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants