rd3_multiPages | R Documentation |
rd3_multiPages
produces a gallery page to explore multiple 'rD3plot' graphs.
rd3_multiPages(x, title = NULL, columns = NULL, imageSize = NULL,
description = NULL, note = NULL,
cex = 1, dir = tempDir(), show = FALSE)
x |
is a |
title |
the text for a main title. |
columns |
a numeric vector giving the number of columns to display items in gallery. Default = 3. |
imageSize |
a numeric vector giving the size of images in gallery. Default = 75. |
description |
a description text for the gallery. |
note |
a footer text for the gallery. |
cex |
number indicating the amount by which plotting text should be scaled relative to the default. Default = 1. |
dir |
a "character" string representing the directory where the graph will be saved. |
show |
a logical value true if the graph is to be shown. Default = FALSE. |
The function creates a folder in your computer with an HTML document named index.html which contains the graph. This file can be directly opened with your browser.
Modesto Escobar, Department of Sociology and Communication, University of Salamanca.
data(miserables)
net <- network_rd3(miserables$nodes, miserables$links,
size="degree", color="group", lwidth="value")
data(finches)
data(galapagos)
bar <- barplot_rd3(finches, galapagos, select="Certhidea olivacea")
data(sociologists)
time <- timeline_rd3(sociologists,"name","birth","death","birthcountry")
multi <- rd3_multigraph(network=net, barplot=bar, timeline=time)
## Not run:
rd3_multiPages(multi,"Some graphs",show=TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.