as.igraph: Coerce 'mgNetworksCollection' or 'mgNetwork' objects to...

as.igraph.mgNetworkR Documentation

Coerce mgNetworksCollection or mgNetwork objects to igraph objects.

Description

Coerce mgNetworksCollection or mgNetwork objects to igraph objects.

Usage

## S3 method for class 'mgNetwork'
as.igraph(x, ...)

## S3 method for class 'mgNetworksCollection'
as.igraph(x, ...)

Arguments

x

either a mgNetworksCollection or a mgNetwork object.

...

currently ignored.

Value

An object of class igraph for a mgNetwork object and a list of igraph objects for mgNetworksCollection.

Methods (by class)

  • as.igraph(mgNetwork): Convert mgNetwork objects to igraph objects.

  • as.igraph(mgNetworksCollection): Convert mgNetworksCollection objects to a list of igraph objects.


rmangal documentation built on March 31, 2023, 10:27 p.m.