CreateListObject {cassandRa}R Documentation

Generates a network list from a food web

Description

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'.

Usage

CreateListObject(web)

Arguments

web

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

Value

A network list for use with other functions in EcoLinkPredict package

Examples

data(Safariland, package = 'bipartite')
demolist<-CreateListObject(Safariland)
str(demolist)

[Package cassandRa version 0.2.0 Index]