Make a foodweb

If you only want to learn about one function, this is the one.

foodweb()

Create a foodweb

Utilities

foodwebr exposes its guts in case you want to tinker.

is.foodweb()

Is an object a foodweb?

get_funmat()

Extract the function matrix from a foodweb object.

get_graphviz_spec()

Extract the GraphViz specification from a foodweb object.

foodweb_matrix()

Create a function caller/callee matrix

graphviz_spec_from_matrix()

Create a graphviz specification from a function matrix

S3 methods

Methods are provided for a few S3 generics.

plot(<foodweb>)

Plot a foodweb object

print(<foodweb>)

Print a foodweb object

print(<foodweb_matrix>)

Print a foodweb_matrix

as_tbl_graph(<foodweb>)

Convert a foodweb to a tidygraph