DEV Community

Pranav Swaroop Gundla
Pranav Swaroop Gundla

Posted on • Edited on

3 2

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

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay