Method to append aggregated metawebs and local networks using the hierarchy described in trophicTable

append_agg_nets(metanetwork)

# S3 method for metanetwork
append_agg_nets(metanetwork)

Arguments

metanetwork

object of class 'metanetwork'

Value

an object of class 'metanetwork', with aggregated networks appended to the network list.

NULL

Details

It uses the network aggregation method developed in Ohlmann et al. 2019. It computes group abundances and edge probabilities of the aggregated networks.

References

Ohlmann, M., Miele, V., Dray, S., Chalmandrier, L., O connor, L., & Thuiller, W. 2019. Diversity indices for ecological networks: a unifying framework using Hill numbers. Ecology letters, 22 4 , 737-747.

Examples

library(metanetwork)
data(meta_angola)
meta_angola = append_agg_nets(meta_angola)
names(meta_angola)
#> [1] "metaweb"        "abTable"        "trophicTable"   "X1986"         
#> [5] "X2003"          "metaweb_Phylum" "X1986_Phylum"   "X2003_Phylum"