Learn R Programming

foodwebr (version 1.0.0)

as_tbl_graph.foodweb: Convert a foodweb to a tidygraph

Description

This is an S3 method for the generic tidygraph::as_tbl_graph().

Usage

# S3 method for foodweb
as_tbl_graph(x, ...)

Value

A new tidygraph::tbl_graph object.

Arguments

x

A foodweb object created by foodweb().