DEV Community

Pranav Swaroop Gundla
Pranav Swaroop Gundla

Posted on • Updated on

Better plots for Statistics display - ggstatsplot

I thought I would write my #firstpost about this. If you've done any plotting in R, you've almost certainly used ggplot2 while it offers a simple approach to making plots, they are sometimes but ggstatsplot is an extension to it. It provides a variety of statistical tests including a text rich plots for better visualizations.

The link to the github repo is ggstatsplot.

This a very useful plotting technique has statistical details, which makes data exploration simpler and faster.

a quick peek of the ggbetweenstats code:

# for reproducibility
set.seed(123)
library(ggstatsplot)

# plot
ggbetweenstats(
  data = iris,
  x = Species,
  y = Sepal.Length,
  title = "Distribution of sepal length across Iris species"
)
Enter fullscreen mode Exit fullscreen mode

ggbetweenstats

Everything in detail is presented in the github repo for more details do visit!

Credits: Indrajeet Patil

Top comments (0)