tomaszaba / ipccheckr

Toolkit for Performing IPC Acute Malnutrition-related Data Checks
GNU General Public License v3.0
2 stars 0 forks source link

Add hex sticker #31

Closed tomaszaba closed 2 months ago

tomaszaba commented 2 months ago

Hi @ernestguevarra, how do you find this hex sticker?

I achieved this with the following:

hexSticker::sticker(
  subplot = check,
  s_x = 0.8,
  s_y = 0.75,
  s_width = 1.0,
  s_height = 1.0,
  package = "ipccheckr",
  p_color = "#21618C",
  p_size = 25,
  p_fontface = "plain",
  h_fill = "#F4F6F6",
  h_color = "#DAA520",
  h_size = 1.0,
  white_around_sticker = TRUE, 
  spotlight = T,
  l_y = 1,
  l_x = 1,
  l_width = 3,
  l_height = 3, 
  l_alpha = 0.3
) |> print()