extract_network: Extract network

Description Usage Arguments Value

Description

Extract local network from a list of species and size

Usage

1
2
3
4
5
6
7
8
9
extract_network(
  data,
  species,
  var,
  metaweb,
  classes = NULL,
  link = "flux",
  out_format = "adjacency"
)

Arguments

data

a data.frame containing species and size variable.

species

species variable name in the dataset.

var

variable characterizing the size.

metaweb

an object created by the build_metaweb function.

classes

data.frame created by the compute_classes function.

Value

a matrix containing the species class and links between them


alaindanet/SizeTrophicInteractions documentation built on Dec. 18, 2021, 11:32 p.m.