as.matrix.foodweb: Convert a foodweb to a matrix
Description
This is equivalent to calling get_funmat() on x.
Usage
# S3 method for foodweb
as.matrix(x, rownames.force = NA, ...)
Value
An n*n numeric matrix where n is the number of functions in the
foodweb. Each element [i][j] will be 1 if function i calls function
j, and 0 otherwise.
Arguments
- x
A foodweb
- rownames.force, ...
Ignored, only included for compatibility with S3 generic