Skip to content
Back to skills

Ggdist

ASecurity

R ggdist package for distribution visualizations. Use for visualizing distributions and uncertainty.

  • 5 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added June 5, 2026
dataaws

Security analysis

A100/100

Scanned June 5, 2026

npx -y skills add LeoLin990405/r-analytics-skill --skill ggdist --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ggdist?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ggdist
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/leolin990405-ggdist/badge)](https://www.skillsdirectory.com/skills/leolin990405-ggdist)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ggdist
description: R ggdist package for distribution visualizations. Use for visualizing distributions and uncertainty.
---

# ggdist

Visualizations of distributions and uncertainty.

## Stat Halfeye

```r
library(ggplot2)
library(ggdist)

ggplot(data, aes(x = group, y = value)) +
  stat_halfeye()

# With options
ggplot(data, aes(x = group, y = value)) +
  stat_halfeye(
    .width = c(0.66, 0.95),
    point_interval = median_qi
  )
```

## Stat Eye

```r
# Full eye (violin + interval)
ggplot(data, aes(x = group, y = value)) +
  stat_eye()
```

## Stat Slab

```r
# Just the density
ggplot(data, aes(x = group, y = value)) +
  stat_slab()

# Horizontal
ggplot(data, aes(y = group, x = value)) +
  stat_slab()
```

## Stat Interval

```r
# Just intervals
ggplot(data, aes(x = group, y = value)) +
  stat_interval()

# Multiple intervals
ggplot(data, aes(x = group, y = value)) +
  stat_interval(.width = c(0.5, 0.8, 0.95))
```

## Stat Pointinterval

```r
# Point + interval
ggplot(data, aes(x = group, y = value)) +
  stat_pointinterval()

# Different point types
ggplot(data, aes(x = group, y = value)) +
  stat_pointinterval(point_interval = mean_qi)
```

## Stat Dots

```r
# Dot plot
ggplot(data, aes(x = group, y = value)) +
  stat_dots()

# Quantile dots
ggplot(data, aes(x = group, y = value)) +
  stat_dotsinterval()
```

## Gradient Intervals

```r
ggplot(data, aes(x = group, y = value)) +
  stat_gradientinterval()
```

## CCDF Bars

```r
# Complementary CDF
ggplot(data, aes(x = group, y = value)) +
  stat_ccdfinterval()
```

## Combining

```r
ggplot(data, aes(x = group, y = value)) +
  stat_halfeye(
    adjust = 0.5,
    width = 0.6,
    .width = 0,
    justification = -0.2,
    point_colour = NA
  ) +
  geom_boxplot(
    width = 0.15,
    outlier.shape = NA
  ) +
  stat_dots(
    side = "left",
    justification = 1.1,
    binwidth = 0.25
  )
```

## With Posterior Samples

```r
# From Bayesian models
library(brms)
posterior <- as_draws_df(fit)

ggplot(posterior, aes(x = b_Intercept)) +
  stat_halfeye()
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in data →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.