csv.to.igraph: Convert a CSV file to an igraph graph object.

View source: R/graph_metrics.R

csv.to.igraphR Documentation

Convert a CSV file to an igraph graph object.

Description

The first column should be sources, the second should be targets.

Usage

csv.to.igraph(fname)

Arguments

fname

A filename

Value

An igraph graph object built from the filename.

Examples

## Not run: ig.csv <- csv.to.igraph("edgelist.csv") 

rcc-uchicago/influenceR documentation built on May 24, 2023, 7:40 p.m.