Learn R Programming

foodwebr (version 1.0.0)

filter_matrix: Filter a function matrix

Description

Filter a function matrix

Usage

filter_matrix(fn_name, fn_mat)

Value

A filtered function matrix containing only functions that are direct descendants or antecedents of fn_name.

Arguments

fn_name

String giving the name of the function we're interested in

fn_mat

Matrix produced by foodweb_matrix()