img_panel_local {trelliscopejs} | R Documentation |
Cast a vector of URLs pointing to local images as an image panel source
Description
Cast a vector of URLs pointing to local images as an image panel source
Usage
img_panel_local(x)
Arguments
x |
a vector of URLs pointing to images |
Note
x
must be paths relative to the path
argument passed to trelliscope
.
Examples
## 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)
[Package trelliscopejs version 0.2.6 Index]