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
Hi! I'm wondering if there's a solution to getting the positioning correct for a continuous x axis. Here's an example of the problem when I specify "numeric.x.axis = T"
Hi! I'm wondering if there's a solution to getting the positioning correct for a continuous x axis. Here's an example of the problem when I specify "numeric.x.axis = T"
lp <- ggline(
ToothGrowth, x = "dose", y = "len", add = "mean_sd",
color = "supp", palette = c("#00AFBB", "#E7B800"), numeric.x.axis = T
)
stat.test <- ToothGrowth %>%
group_by(dose) %>%
t_test(len ~ supp) %>%
adjust_pvalue(method = "bonferroni") %>%
add_significance("p.adj")
stat.test
stat.test <- stat.test %>%
add_xy_position(fun = "mean_sd", x = "dose")
lp + stat_pvalue_manual(
stat.test, label = "p.adj.signif",
linetype = "blank", vjust = 2
)
Thank you!
The text was updated successfully, but these errors were encountered: