Learn R Programming

cassandRa (version 0.1.0)

PredictLinks: Generates a network list from a food web and fits all network models

Description

First calls CreateListObject to convert a matrix suitable for the bipartite package into a list structure.

Usage

PredictLinks(web, RepeatModels = 10)

Arguments

web

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

RepeatModels

How many times to fit each model from different starting points. Uses best half (rounding up)

Value

A network list including a large number of outputs.

Details

Then it calls FitAllModels to fit each of the missing link models in turn.

Examples

Run this code
# NOT RUN {
data(Safariland, package = 'bipartite')
PredictLinks(Safariland)
# }
# NOT RUN {
# }
# NOT RUN {



# }

Run the code above in your browser using DataLab