get_structural_zeros: find the structural zeros of a unipartite matrix

View source: R/get_structural_zeros.R

get_structural_zerosR Documentation

find the structural zeros of a unipartite matrix

Description

structural zeros, (or forbidden links) in this very basic definition, are combinations of floral visitors and herbivores. These are assumed not to interact. Furthermore, if a separate dataframe is given, these are incorporated. This is because I compiled inter-guild structural zeros elsewhere for the caracoles matrices, but need to join them with the basic ones.

Usage

get_structural_zeros(
  A = NULL,
  plants = NULL,
  fv = NULL,
  herb = NULL,
  dfz = NULL
)

Arguments

A

interaction matrix

plants

names of plants (character vector)

fv

names of floral visitors

herb

names of herbivores

dfz

optional dataframe with columns "plant", "animal", "structural.zero"

Value

dataframe with two columns, giving the position in A of the structural zeros.


RadicalCommEcol/MultitrophicFun documentation built on Oct. 13, 2023, 1:27 a.m.