powered by
First calls CreateListObject to convert a matrix suitable for the bipartite package into a list structure.
CreateListObject
PredictLinks(web, RepeatModels = 10)
in format specified by the bipartite package. Rows = focal layer, columns = response layer
How many times to fit each model from different starting points. Uses best half (rounding up)
A network list including a large number of outputs.
Then it calls FitAllModels to fit each of the missing link models in turn.
FitAllModels
# NOT RUN { data(Safariland, package = 'bipartite') PredictLinks(Safariland) # } # NOT RUN { # } # NOT RUN { # }
Run the code above in your browser using DataLab