---
title: "Introduction to ggjoy"
author: "Claus O. Wilke"
date: "`r Sys.Date()`"
output:
  rmarkdown::html_vignette:
    fig_width: 4.5
    fig_height: 3
vignette: >
  %\VignetteIndexEntry{Introduction to ggjoy}
  %\VignetteEngine{knitr::rmarkdown}
  %\usepackage[utf8]{inputenc}
---

The ggjoy package has been deprecated. Please switch over to [ggridges](https://CRAN.R-project.org/package=ggridges). To port from ggjoy to ggridges, make the following substitutions in your code:

|ggjoy function | ggridges function|
|:---|:---|
|`geom_joy`|`geom_density_ridges`|
|`geom_joy2`|`geom_density_ridges2`|
|`geom_joy_gradient`|`geom_density_ridges_gradient`|
|`stat_joy`|`stat_density_ridges`|
|`theme_joy`|`theme_ridges`|

All other ggjoy functions (e.g., `geom_ridgeline`) exist under the same name in the ggridges package.
