PredictLinks function

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

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

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

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)

Returns

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

## Not run: data(Safariland, package = 'bipartite') PredictLinks(Safariland) ## End(Not run)
  • Maintainer: Chris Terry
  • License: GPL-3
  • Last published: 2024-06-10

Useful links