fromIgraph: Produce interactive networks from igraph objects.

Description Usage Arguments Value Author(s) References Examples

View source: R/exports.R

Description

fromIgraph produce an interactive network from an igraph object.

Usage

1

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. doi: 10.18637/jss.v093.i11.

Examples

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

netCoin documentation built on Oct. 29, 2021, 1:06 a.m.