R/include_image.R
include_image.Rd
Insert image in label
include_image( label, value, size, position = NA, type = "static", units = "cm", opts = NA )
label output
column or path
image size
position coordinate
type of entry: dynamic or static
units for the label options
R magick functions
data frame
library(huito) label <- label_layout(size = c(10, 2.5), border_color = "blue") %>% include_image( value = "https://flavjack.github.io/inti/img/inkaverse.png" , size = c(2.4, 2.4) , position = c(1.2, 1.25) )