addTutorial: Adds a tutorial for the gallery.

addTutorialR Documentation

Adds a tutorial for the gallery.

Description

addTutorial adds a tutorial for a gallery.

Usage

addTutorial(x, image = NULL, description = NULL)

Arguments

x

object of class gallery_rd3.

image

character vector indicating the image path, header for the tutorial.

description

a character string indicating a desription text to insert in the tutorial.

Value

Object of class gallery_rd3.

Author(s)

Modesto Escobar, Department of Sociology and Communication, University of Salamanca.

Examples

data("finches")
finches$species <- system.file("extdata", finches$species,
        package="netCoin") # copy path to the species field
g <- gallery(finches, image="species", main="Species in Galapagos Islands",
        note="Data source: Sanderson (2000)")

g <- addTutorial(g, 
  description="Here you can see different finches species in Galapagos islands.")

## Not run: 
plot(g)

## End(Not run)

netCoin documentation built on March 31, 2023, 7:34 p.m.