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

number of observation disappearing when centrality.plotting = FALSE #695

Open
IndrajeetPatil opened this issue Jan 9, 2022 · 0 comments
Labels
bug 🐜 Something isn't working

Comments

@IndrajeetPatil
Copy link
Owner

Discussed in https://github.com/IndrajeetPatil/ggstatsplot/discussions/694

Originally posted by AntoineSoetewey January 9, 2022
Hello,

Is there a reason why the number of observations (usually displayed below each categories) disappear when using centrality.plotting = FALSE?

See for example:

ggbetweenstats(
  data = dplyr::filter(gapminder::gapminder, year == 2007, continent != "Oceania"),
  x = continent,
  y = lifeExp
)

image

ggbetweenstats(
  data = dplyr::filter(gapminder::gapminder, year == 2007, continent != "Oceania"),
  x = continent,
  y = lifeExp,
  centrality.plotting = FALSE
)

image

I believe it is useful to know the number of observations per category (and not only the total number of observations) even when the mean is not plotted.

Thanks in advance for your help!

@IndrajeetPatil IndrajeetPatil added the bug 🐜 Something isn't working label Jan 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐜 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant