spec_image: Setup image path, size, etc

View source: R/spec_tools.R

spec_imageR Documentation

Setup image path, size, etc

Description

Users can directly provide image file path to column spec. However, if you need to specify the size of the image, you will need this function.

Usage

spec_image(path, width, height, res = 300, svg_text = NULL)

Arguments

path

file path(s)

width

image width in pixel

height

image height in pixel

res

image resolution.

svg_text

If you have the raw text for SVG. Put them here


kableExtra documentation built on June 22, 2024, 10:59 a.m.