-
Notifications
You must be signed in to change notification settings - Fork 165
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
Example 2 under 'line plots' in the 'Plot Means/Medians and Error Bars' section of sthda website is not reproducible #109
Comments
It works for me, make sure you have the latest version. If it fails, please, provide the output of devtools::session_info() |
I checked that all the versions are up to date, still getting the same graph. Here is the code and Session info: library(ggpubr) Session info --------------------------------------------------------------- Packages ------------------------------------------------------------------- [1] C:/ResearchSoftware/R/R-3.5.1/library |
I can see that you have the latest CRAN release of ggpubr. Kindly install the latest developmental version of ggpubr as follow: devtools::install_github("kassambara/ggpubr") It should work after the installation |
You're a STAR! Thank you so much, it works perfectly now 🥇 |
The code below does not generate standard_error bars around the mean of the variable grouped by color as shown in the example on the sthda webpage [http://www.sthda.com/english/articles/24-ggpubr-publication-ready-plots/79-plot-meansmedians-and-error-bars/]
ggline(ToothGrowth, x = "dose", y = "len", add = c("mean_se", "jitter"), color = "supp", palette = "jco")
The text was updated successfully, but these errors were encountered: