PredictLinks {cassandRa} | R Documentation |
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) |
Details
Then it calls FitAllModels
to fit each of the missing link models in turn.
Value
A network list including a large number of outputs.
Examples
## Not run:
data(Safariland, package = 'bipartite')
PredictLinks(Safariland)
## End(Not run)
[Package cassandRa version 0.2.0 Index]