Learn R Programming

cassandRa (version 0.1.0)

CreateListObject: 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

Run this code
# NOT RUN {
data(Safariland, package = 'bipartite')
demolist<-CreateListObject(Safariland)
str(demolist)
# }

Run the code above in your browser using DataLab