You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to customize the confidence interval in my plot. I know that I can use mean_ci but when I put ci=0.95 or ci=0.80 it makes no difference in the plot. How do I customize the confidence interval in ggerrorplot??
My code is below:
ggerrorplot(merge_sub_rmNA, x = "Quartiles", y = "LBXGLT", ylab = "Two Hour Glucose (mg/dl)", error.plot = "errorbar", desc_stat = c("mean", "mean_ci", ci=0.80), palette = "jco", title = "OGTT by DHA All Ages")+
scale_x_discrete(name = '\nQuartiles of DHA Intake (grams)',
breaks = c('1', '2', '3', '4'),
labels = c('1\n0.003', '2\n0.011', '3\n0.056', '4\n4.08'))+
stat_compare_means(method = "kruskal.test", label.y = 125, label.x = 1)+ # Add global p-value
stat_compare_means(comparisons = my_comparisons, tip.length = c(0.001), label = "p.signif", hide.ns = TRUE, label.y = c(123))
The text was updated successfully, but these errors were encountered:
I am trying to customize the confidence interval in my plot. I know that I can use mean_ci but when I put ci=0.95 or ci=0.80 it makes no difference in the plot. How do I customize the confidence interval in ggerrorplot??
My code is below:
The text was updated successfully, but these errors were encountered: