exhibit: Images in a grid gallery.

exhibitR Documentation

Images in a grid gallery.

Description

exhibit produces an interactive image gallery (alternative display).

Usage

exhibit(nodes, name = NULL, label = NULL, subtitle = NULL, order = NULL,
  decreasing = FALSE, ntext = NULL, mainframeHeight = NULL, image = NULL,
  zoom = NULL, main = NULL, note = NULL, export = FALSE, colorScheme = 0,
  language = c("en", "es", "ca"), dir = NULL)

Arguments

nodes

a data frame with at least one column with the names of the gallery's elements.

name

name of the vector with names in the nodes data frame.

label

column name with image labels in the nodes data frame.

subtitle

column name with image subtitles in the nodes data frame.

order

name of the column with node order in the nodes data frame.

decreasing

decreasing or increasing sort of the nodes.

ntext

column name with html text in the nodes data frame.

mainframeHeight

a number between 0.1 and 1 to reduce mainframe height.

image

column name which indicates the image paths in the nodes data frame.

zoom

a number between 0.1 and 1 to reduce item sizes.

main

upper title of the graph.

note

lower title of the graph.

export

A button will appear to export gallery as excel.

colorScheme

Select a color theme for display (0-11).

language

a character string indicating the language of the graph (en=english (default); es=spanish; ca=catalan).

dir

a character string representing the directory where the web files will be saved.

Value

Object of class gallery_rd3.

Author(s)

Modesto Escobar, Department of Sociology and Communication, University of Salamanca. See https://sociocav.usal.es/blog/modesto-escobar/

Examples

data("finches")
finches$species <- system.file("extdata", finches$species,
        package="netCoin") # copy path to the species field
exhibit(finches, image="species")

Modesto-Escobar/netCoin-2.x documentation built on July 26, 2024, 11:15 p.m.