Add support for geom_boxplot(stat="identity") in ggplotly or similar for plot_ly boxplot
Personne n'a encore pris cette issue.
- Langage dominant
- R
- Étoiles
- 2.7k
- Forks
- 641
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
I'm using ggplot2 to create boxplots which I'd then like to make interactive by converting to a plotly object. What I need to be able to do however is use my own computed values for the min, max, lower, upper, and middle values of the boxplot. This is possible in ggplot by using stat="identity" in geom_boxplot() and setting the values within aes(). When I then pass the ggplot object to ggplotly however nothing renders, I just get an empty axis. I think this is because plotly tries to internally calculate the quartiles etc when converting the box plot (which it then can't do because I've not given it appropriate data).
Would it therefore be possible to add support for setting the boxplot values either through the ggplotly conversion or directly using a plot_ly() boxplot?
Thanks
p.s. a simple example of what I'd like to convert can be found at the end of the geom_boxplot documentation (http://docs.ggplot2.org/current/geom_boxplot.html).
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par l’exemple de documentation de geom_boxplot associé dans l’issue et suivez la manière dont ggplotly gère un objet ggplot utilisant stat="identity". Comparez ce chemin avec la prise en charge des boxplots par plot_ly(). Le travail est considéré comme terminé lorsque des valeurs personnalisées pour min, max, lower, upper et middle s’affichent sous la forme d’un boxplot interactif non vide via l’une des approches demandées.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- plotly, r
- Domaine
- data-visualization
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100