CreateListObject function

Generates a network list from a food web

Generates a network list from a food web

Gets a network in the base bipartite package format into a list format. N.B. Throughout this package uses hosts to refer to the focal layer, and 'wasps' the response layer, although this could equally be 'plants' and 'pollinators'.

CreateListObject(web)

Arguments

  • web: in format specified by the bipartite package. Rows = focal layer, columns = response layer

Returns

A network list for use with other functions in EcoLinkPredict package

Examples

data(Safariland, package = 'bipartite') demolist<-CreateListObject(Safariland) str(demolist)
  • Maintainer: Chris Terry
  • License: GPL-3
  • Last published: 2024-06-10

Useful links