knitr::opts_chunk$set(echo = TRUE, fig.align = "center", fig.width = 4, fig.height = 4, 
                      warning = FALSE, error = FALSE, message = FALSE)
devtools::load_all("..")

Last updated: r Sys.Date()


# Load ggmitji 
library(ggmitji)

# Load patchwork (to put plots together)
library(patchwork)
draw_polygon(shape = "L", color = "Black", fill = "NA")
l = draw_polygon(shape = "L", color = "Black", fill = NA)
s = draw_polygon(shape = "square", color = "red", fill = "cornflowerblue")
t = draw_polygon(shape = "triangle", color = "Black", fill = "pink")
c = draw_polygon(shape = "circle", color = "Black", fill = "yellow")
d = draw_polygon(shape = "diamond", color = "Black", fill = "red")
h = draw_polygon(shape = "heart", color = NA, fill = "red")
(l + s + t + c + h + d)


amitjavilaventura/ggmitji documentation built on March 27, 2024, 12:06 p.m.