fromIgraph: Produce interactive networks from igraph objects.

View source: R/exports.R

fromIgraphR Documentation

Produce interactive networks from igraph objects.

Description

fromIgraph produce an interactive network from an igraph object.

Usage

fromIgraph(G, ...)

Arguments

G

an igraph object.

...

Any network_rd3 argument.

Value

This function returns a network_rd3 object. If the 'dir' attribute is specified, the function creates a folder in the computer with an HTML document named index.html which contains the produced graph. This file can be directly opened with your browser and sent to a web server to work properly.

Author(s)

Modesto Escobar, Department of Sociology and Communication, University of Salamanca. See https://sociocav.usal.es/blog/modesto-escobar/

References

Escobar, M. and Martinez-Uribe, L. (2020) Network Coincidence Analysis: The netCoin R Package. Journal of Statistical Software, 93, 1-32. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.18637/jss.v093.i11")}.

Examples

g <- igraph::make_ring(10)
fromIgraph(g)

netCoin documentation built on March 31, 2023, 7:34 p.m.