We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In ggdensity(gghistogram) plot, if data have NA values, the mean within group will be missing.
the test code like: library(ggpubr) set.seed(1234) wdata = data.frame(sex = factor(rep(c("F", "M"), each=200)), weight = c(rnorm(200, 55), rnorm(200, 58))) wdata[1,2] = NA ggdensity(wdata, x = "weight", add = "mean", rug = TRUE, color = "sex", palette = c("#00AFBB", "#E7B800"))
ggdensity_plot.pdf
The text was updated successfully, but these errors were encountered:
fix or #1
dd3f45b
News updated #1
cb4bbbe
fixed now! Thanks for reporting this. Best, /A
Sorry, something went wrong.
No branches or pull requests
In ggdensity(gghistogram) plot, if data have NA values, the mean within group will be missing.
the test code like:
library(ggpubr)
set.seed(1234)
wdata = data.frame(sex = factor(rep(c("F", "M"), each=200)), weight = c(rnorm(200, 55), rnorm(200, 58)))
wdata[1,2] = NA
ggdensity(wdata, x = "weight", add = "mean", rug = TRUE, color = "sex", palette = c("#00AFBB", "#E7B800"))
ggdensity_plot.pdf
The text was updated successfully, but these errors were encountered: