inst/safetyGraphicsHex/safetyHex.R

#library(hexSticker)

#red on white
imgurl <- "./inst/safetyGraphicsHex/noun_heart_rate_210541_ec5d57.png"
# sticker(
#   imgurl,
#   filename="./inst/safetyGraphicsHex/safetyGraphicsHex.png",
#   package = "safetyGraphics",
#   p_color = "#666666",
#   p_size = 5,
#   p_family = "serif",
#   p_y = 0.5,
#   s_x = 1,
#   s_y=1.1,
#   s_width = 0.8,
#   h_color = "black",
#   h_fill= "white")

Try the safetyGraphics package in your browser

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

safetyGraphics documentation built on Dec. 28, 2022, 1:58 a.m.