convert2igraph {EGAnet}R Documentation

Convert networks to igraph

Description

Converts networks to igraph format

Usage

convert2igraph(A, diagonal = 0)

Arguments

A

Matrix or data frame. N x N matrix where N is the number of nodes

diagonal

Numeric. Value to be placed on the diagonal of A. Defaults to 0

Value

Returns a network in the igraph format

Author(s)

Hudson Golino <hfg9s at virginia.edu> & Alexander P. Christensen <alexander.christensen at Vanderbilt.Edu>

Examples

convert2igraph(ega.wmt$network)


[Package EGAnet version 2.0.6 Index]