plot.apero: Plots an Apero

View source: R/methods.R

plot.aperoR Documentation

Plots an Apero

Description

Plot method for an object of class "apero".

Usage

## S3 method for class 'apero'
plot(x, emo = "beer", size = 8, color = "orange", ...)

Arguments

x

An object of class "apero".

emo

An emoji like "beer", "drink", "syringe", "wine_glass". Use emojifont::search_emoji("glass", approximate = TRUE) to find the right word.

size

Size of emoji.

color

Color of emoji.

...

Further arguments passed to ggplot2::geom_text().

Value

A "ggplot" object.

Examples

x <- apero()
x
plot(x)
plot(x, emo = "syringe", color = "red")

x2 <- apero(2, 1)
plot(x2)

mayer79/apero documentation built on May 27, 2023, 10:13 a.m.