Skip to contents

The goal of ggstephen is to provide additional geoms for ggplot2 plots.

Installation

You can install the development version of ggstephen like so:

remotes::install_github("stephenturner/ggstephen")

Example

This is a basic example which shows you how plot data geom_stephen(). Additional examples show alternate geoms. For help see ?geom_stephen.

# The default geom is "stephen1"
ggplot(mtcars) + geom_stephen(aes(mpg, wt))


# Alternate geom
ggplot(mtcars) + geom_stephen(aes(mpg, wt), stephen = "stephen2")


# Stephen's cat "pancake"
ggplot(mtcars) + geom_stephen(aes(mpg, wt), stephen = "cat")