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

Automatically specify error bars grouping variable #183

Closed
kassambara opened this issue Jun 3, 2019 · 0 comments
Closed

Automatically specify error bars grouping variable #183

kassambara opened this issue Jun 3, 2019 · 0 comments

Comments

@kassambara
Copy link
Owner

@kassambara kassambara commented Jun 3, 2019

In the current version, when creating a grouped bar plot with fill, user needs to specify the option add.params = list(group = ) for adding error bars by group.

library(ggpubr)
df <- ToothGrowth
df$dose <- as.factor(df$dose)
ggbarplot(df, x = "supp", y = "len",
                fill = "dose",
                add = "mean_sd", add.params = list(group = "dose"),
                position = position_dodge(0.8)) 

Rplot03

It would be great if ggbarplot() can automatically create error bars by groups when users forget the option add.params = list(group = )

kassambara added a commit that referenced this issue Jun 3, 2019
@kassambara kassambara closed this Jun 3, 2019
@kassambara kassambara reopened this Jun 22, 2019
kassambara added a commit that referenced this issue Jun 22, 2019
@kassambara kassambara closed this Jun 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.