Returns a matrix of 0s and 1s with a row and column for each function in an environment, such that if the function on the x-axis calls the function on the y-axis, the element is 1, otherwise 0.

foodweb_matrix(env = parent.frame())

Arguments

env

Environment in which to search for functions.

Value

An n x n matrix where n is the number of functions in env.