geom_emoji: Emoji geom

View source: R/geom_emoji.R

geom_emojiR Documentation

Emoji geom

Description

Use emoji as you would geom_point.

Usage

geom_emoji(
  mapping = NULL,
  data = NULL,
  stat = "emoji",
  position = "identity",
  na.rm = FALSE,
  show.legend = NA,
  inherit.aes = TRUE,
  ...
)

Author(s)

David L Miller

Examples

## Not run: 
library(ggplot2)
library(emoGG)

# I want a tulip to plot for the iris example data
emoji_search("tulip")

# plot the data, but with emojis
ggplot(iris, aes(Sepal.Length, Sepal.Width, color = Species)) +
  geom_emoji(emoji="1f337")


## End(Not run)

dill/emoGG documentation built on Feb. 3, 2023, 6:57 a.m.