Title: | Network Explorer |
---|---|
Description: | Social network analysis has become an essential tool in the study of complex systems. 'NetExplorer' allows to visualize and explore complex systems. It is based on 'd3js' library that brings 1) Graphical user interface; 2) Circular, linear, multilayer and force Layout; 3) Network live exploration and 4) SVG exportation. |
Authors: | Sosa Sebastian [aut, cre] |
Maintainer: | Sosa Sebastian <[email protected]> |
License: | GPL (>= 3) |
Version: | 0.0.2 |
Built: | 2025-03-01 05:51:37 UTC |
Source: | https://github.com/cran/NetExplorer |
Plots a network
vis.net( df, m, col.id = NULL, col.size = NULL, color = c("black", "white"), col.color = NULL, col.shape = NULL, shapes = NULL, strokeCol = c("white", "black"), col.strokeCol = NULL, col.stroke = NULL, layers = NULL, node.opacity = NULL, link.opacity = FALSE, background = "grey" )
vis.net( df, m, col.id = NULL, col.size = NULL, color = c("black", "white"), col.color = NULL, col.shape = NULL, shapes = NULL, strokeCol = c("white", "black"), col.strokeCol = NULL, col.stroke = NULL, layers = NULL, node.opacity = NULL, link.opacity = FALSE, background = "grey" )
df |
a data frame with node information. |
m |
a matrix of node connections. |
col.id |
a character or numeric vector indicating the column name or index of node Ids. |
col.size |
a character or numeric vector indicating the column name or index of node size. |
color |
a vector character of length two indicating the range of color for node color. |
col.color |
a character or numeric vector indicating the column name or index of node color. |
col.shape |
a character or numeric vector indicating the column name or index of node shape. |
shapes |
a character vector indicating the type of shape per category. 7 shapes are available: "circle", "cross", "diamond", "rectangle, "star", "triangle", "y" |
strokeCol |
a vector character of length two indicating the range of color for node stroke color. |
col.strokeCol |
a character or numeric vector indicating the column name or index of node stroke color. |
col.stroke |
a character or numeric vector indicating the column name or index of node stroke. |
layers |
a column in argument df indicating the factor to use for multi-layer layout. |
node.opacity |
a character or numeric vector indicating the column name or index of node opacity. |
link.opacity |
a character or numeric vector indicating the column name or index of link opacity. |
background |
a character indicating the background color. |
Opens default web browser and shows 'NetExplorer' interface with the desired network. Further information and tutorial can be found in my video https://youtu.be/IcFTZWCTO_s/
Opens default web browser with the ploted network.
Sebastian Sosa
vis.net(df,m,col.id = "id", col.size = "strength", color = c('green', 'yellow'), col.color = "age" , strokeCol = c('red', 'blue'), col.strokeCol = "kinship", col.stroke = "degree", col.shape = "sex",shapes = c("circle", "triangle"), layers = "kinship")
vis.net(df,m,col.id = "id", col.size = "strength", color = c('green', 'yellow'), col.color = "age" , strokeCol = c('red', 'blue'), col.strokeCol = "kinship", col.stroke = "degree", col.shape = "sex",shapes = c("circle", "triangle"), layers = "kinship")