add_tutorial_rd3 {rD3plot} | R Documentation |
Adds a tutorial for the gallery.
Description
add_tutorial_rd3
adds a tutorial for a gallery.
Usage
add_tutorial_rd3(x, image = NULL, description = NULL)
Arguments
x |
object of class |
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="rD3plot") # copy path to the species field
gallery <- gallery_rd3(finches, image="species", main="Species in Galapagos Islands",
note="Data source: Sanderson (2000)")
gallery <- add_tutorial_rd3(gallery,
description="Here you can see different finches species in Galapagos islands.")
## Not run:
plot(gallery)
## End(Not run)
[Package rD3plot version 1.0.68 Index]