Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

as.igraph

Conversion to igraph


Description

These functions convert various objects to igraph graphs.

Usage

as.igraph(x, ...)

Arguments

x

The object to convert.

...

Additional arguments. None currently.

Details

You can use as.igraph to convert various objects to igraph graphs. Right now the following objects are supported:

Value

All these functions return an igraph graph.

Author(s)

Gabor Csardi csardi.gabor@gmail.com.

Examples

g <- make_full_graph(5) + make_full_graph(5)
hrg <- fit_hrg(g)
as.igraph(hrg)

igraph

Network Analysis and Visualization

v1.2.10
GPL (>= 2)
Authors
See AUTHORS file.
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.