Learn R Programming

tna (version 1.5.8)

as.igraph.group_tna: Coerce a Specific Group from a group_tna Object into an igraph Object.

Description

Coerce a Specific Group from a group_tna Object into an igraph Object.

Usage

# S3 method for group_tna
as.igraph(x, which, ...)

Value

An igraph object of the network of the group which (see as.igraph.tna()).

Arguments

x

The object to convert.

which

The number or name of the group.

...

Additional arguments. None currently.

See Also

Helper functions as.igraph.matrix(), as.igraph.tna()

Examples

Run this code
model <- group_model(engagement_mmm)
as.igraph(model, which = 1)

Run the code above in your browser using DataLab