Nothing
The rD3plot package represents and manages information from a database over a network. It also allows visualization of the temporal evolution or periodic changes of the added elements.
Components:
Load rD3plot library and example data with the dependencies network of CRAN packages It loads 2 data.frames: links and nodes
library(rD3plot) data("crannetworkdata") links <- crannetworkdata$links nodes <- crannetworkdata$nodes
Simple network creation. Columns with edge color, node size, node color and node information are specified for network customization.
net <- network_rd3(links=links, nodes=nodes, lcolor="Type", size="downloadsyear", info="info", color="downloads", dir="CRANnetwork") plot(net)
knitr::include_graphics("CRANnetwork.png")
Evolving CRAN network creation
# It is necessary the creation of a list of networks nets <- list() # Each network, delimited by time, will be a frame for(t in (min(links$Year):max(links$Year))){ sublinks <- links[links$Year<=t,] nets[[paste0("year_",t)]] <- network_rd3(links=sublinks, nodes=nodes, lcolor="Type", size="downloads", info="info") } # Join this networks in a evolutive network with the `evolNetwork_rd3` function net <- evolNetwork_rd3(nets, dir="CRANnetworkEvol") plot(net)
knitr::include_graphics("CRANnetworkEvol.png")
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.