FAQ

Here are some of the common questions that have been asked in GitHub issues and on social media platforms.

I just want the plot, not the statistical details. How can I turn them off?

All functions in ggstatsplot that display results from statistical analysis in a subtitle have argument results.subtitle. Setting it to FALSE will return only the plot.

What statistical test was carried out?

In case you are not sure what was the statistical test that produced the results shown in the subtitle of the plot, the best way to get that information is to either look at the documentation for the function used or check out the associated vignette. For example, if you used the function ggbetweenstats, the details of the tests can be seen at the summary table. Such summary tables are available for each function.

Does ggstatsplot work with plotly?

The plotly R graphing library makes it easy to produce interactive web graphics via ‘plotly.js’. ggstatsplot functions are compatible with plotly.

How can I use grouped_ functions with more than one group?

Currently, the grouped_ variants of functions only support repeating the analysis across a single grouping variable. Often, you have to run the same analysis across a combination of more than two grouping variables. This can be easily achieved using purrr package.

Here is an example-

How can I remove a a particular geom layer from the plot?

Sometimes you may not want a particular geom layer to be displayed. You can remove them using gginnards.

For example, let’s say we want to remove the geom_point() from ggbetweenstats default plot.

This can be helpful to add a new layer with aesthetic specifications of your liking.

Suggestions

If you find any bugs or have any suggestions/remarks, please file an issue on GitHub: https://github.com/IndrajeetPatil/ggstatsplot/issues