rd3_multigraph | R Documentation |
rd3_multigraph
produce an interactive multi graph with the integration of 'rD3plot' graphs in the final result.
rd3_multigraph(..., mfrow = NULL, dir = NULL)
... |
rD3plot graphs (network_rd3, barplot_rd3, timeplot_rd3) objects or string paths to html "directories". |
mfrow |
a vector of the form 'c(nr, nc)'. Subsequent graphs will be drawn in an 'nr'-by-'nc' array on the device by rows. |
dir |
a "character" string representing the directory where the graph will be saved. |
This function returns a multi_rd3
object.
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:
plot(multi)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.