Plot method for an object of class "apero".

# S3 method for 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
#> The apero takes place in a 6m x 4m room and the safety distance is 1.5m.
#> A whopping 12 guests are here (incl. you). Nice apero so far!
plot(x)

plot(x, emo = "syringe", color = "red")


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