spec_image: Setup image path, size, etc

Description Usage Arguments

View source: R/spec_tools.R

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

1
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 Feb. 20, 2021, 9:10 a.m.