powered by
This function is used to insert images into flextable with function display
display
external_img(src, width = 0.5, height = 0.2)# S3 method for external_img dim(x)# S3 method for external_img as.data.frame(x, ...)# S3 method for external_img format(x, type = "console", ...)
# S3 method for external_img dim(x)
# S3 method for external_img as.data.frame(x, ...)
# S3 method for external_img format(x, type = "console", ...)
image file path
height in inches
external_img object
external_img
unused
output format
# NOT RUN { # external_img("example.png") # }
Run the code above in your browser using DataLab