inst/createHexSticker.R

library(hexSticker)

sticker("inst/figures/poverty.png",
        s_x = 1, s_y = 0.8, s_width = 0.7,
        package = "ppitables", p_color = "#797842", p_y = 1.4,
        h_size = 1.5, h_color = "#797842", h_fill = NA,
        filename = "man/figures/ppitables.png")

Try the ppitables package in your browser

Any scripts or data that you put into this service are public.

ppitables documentation built on Jan. 13, 2021, 7:08 p.m.