Learn R Programming

popgraph (version 1.0)

as.population_graph: Converts an object of type matrix or igraph into population_graph

Description

This is a simple conversion routine for matrix or igraph objects into population_graph objects

Usage

as.population_graph(graph)

Arguments

graph
An object of type matrix or igraph

Value

  • An object of type population_graph