Learn R Programming

gRbase (version 1.8-3.4)

graph-coerce: Graph coercion

Description

Methods for changing graph representations

Usage

coerceGraph(object, result)

# S3 method for graphNEL coerceGraph(object, result)

# S3 method for matrix coerceGraph(object, result)

# S3 method for dgCMatrix coerceGraph(object, result)

# S3 method for igraph coerceGraph(object, result)

Arguments

object

A graph object

result

The desired output type