img_panel_local: Cast a vector of URLs pointing to local images as an image...

Description Usage Arguments Note Examples

View source: R/helpers.R

Description

Cast a vector of URLs pointing to local images as an image panel source

Usage

1

Arguments

x

a vector of URLs pointing to images

Note

x must be paths relative to the path argument passed to trelliscope.

Examples

1
2
3
4
5
6
## Not run: 
# assuming images are available locally in relative path pokemon_local/images
pokemon$img <- img_panel_local(paste0("images/", basename(pokemon$url_image)))
trelliscope(pokemon, name = "pokemon", path = "pokemon_local")

## End(Not run)

trelliscopejs documentation built on Feb. 1, 2021, 9:05 a.m.