influenceR (version 0.1.0)

csv.to.igraph: 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

Run this code
# NOT RUN {
ig.csv <- csv.to.igraph("edgelist.csv") 
# }

Run the code above in your browser using DataCamp Workspace