Learn R Programming

bipartite (version 2.21)

Visualising Bipartite Networks and Calculating Some (Ecological) Indices

Description

Functions to visualise webs and calculate a series of indices commonly used to describe pattern in (ecological) webs. It focuses on webs consisting of only two levels (bipartite), e.g. pollination webs or predator-prey-webs. Visualisation is important to get an idea of what we are actually looking at, while the indices summarise different aspects of the web's topology.

Copy Link

Version

Install

install.packages('bipartite')

Monthly Downloads

4,933

Version

2.21

License

GPL

Issues

Pull Requests

Stars

Forks

Maintainer

Carsten F Dormann

Last Published

February 20th, 2025

Functions in bipartite (2.21)

bezerra2009

Individuals observed in a flower-visitation network of oil-collecting bees in a Brazilian steppe.
as.tnet

Ensures that networks conform to the tnet stardards
betweenness_w

Betweenness centrality in a weighted network
betalinkr

Calculate network dissimilarity (beta diversity) and its components
closeness_w

Closeness centrality in a weighted network
barrett1987

Individuals caught in a pollination web in boreal Canada.
compart

Detects compartments
bipartite-package

Analysis of bipartite ecological webs
clustering_tm

Redefined clustering coefficient for two-mode networks
distance_w

Distance in a weighted network
computeModules

computeModules
degreedistr

Fits functions to cumulative degree distributions of both trophic levels of a network.
discrepancy

Calculates discrepancy of a matrix
empty

Deletes empty rows and columns from a matrix.
elberling1999

No. of visits in a pollination web of arctic-alpine Sweden
extinction

Simulates extinction of a species from a bipartite network
endpoint

Computes end-point degrees for a bipartite network
dfun

Calculates standardised specialisation index d' (d prime) for each species in the lower trophic level of a bipartite network.
czvalues

Computes c and z for network modules
fc

Calculates the functional complementarity for the rows of a web
grouplevel

Analysis of bipartite webs at the level of each of the two levels (groups) of the network
genweb

Generate a random bipartite web
decimalr2dtable

Generates matrix with same marginal totals for non-negative decimal values
frame2webs

Converts a table of observations into a network matrix
DIRT_LPA_wb_plus

Functions "LPA_wb_plus" and "DIRT_LPA_wb_plus"
kevan1970

A pollination network from Northern Ellesmere Island, Canada
kato1990

No. of individuals caught in a pollination web of a Japanese beech forest
moduleWeb-class

Class "moduleWeb"
linklevel

Indices of a bipartite network at the link level
nested

Calculates any of several measures of nestedness
nest.smdm

Computes nestedness of a matrix as WNODA (and NODF and WNODF)
mgen

Generate simulated network according to a given probability matrix
listModuleInformation

listModuleInformation
nestedrank

Calculates the rank of a species in a matrix sorted for maximum nestedness
null.t.test

Compares observed pattern to random webs.
null.distr

Null model based on fitted marginal distribution
nestedcontribution

Calculates the per-species contribution to nestedness (z-score relative to null model)
memmott1999

Flower visitation network from a meadow near Bristol, UK
motten1982

A spring flower visitation network from North Carolina, USA
mosquin1967

Flower visitation network from Melville Island, Northwest Territories, Canada
junker2013

Flower visitation network
inouye1988

A pollination network from the Snowy Mountains of New South Wales, Australia
networklevel

Analysis of bipartite webs at the level of the entire network
ollerton2003

ollerton2003
r2dexternal

Generates null models for network analysis by considering external abundances
nodespec

Calculates the node-based specialisation index
projecting_tm

Projecting binary and weighted two-mode networks onto weighted one-mode networks.
nestedness

Calculates nestedness temperature of presence/absence matrices
robustness

Robustness to species extinctions
plotModuleWeb

plotModuleWeb
npartite

Computes indices for a masked-one-mode network
plotweb2

Visualize a tripartite interaction matrix (e.g. a tritrophic foodweb)
spectral.radius

Calculates the spectral radius as a nestedness measurement of a bipartite matrix, possibly with regard to mass action
second.extinct

Secondary extinctions in bipartite networks
plotweb

Visualize a bipartite interaction matrix (e.g. a foodweb)
specieslevel

Calculate various indices for network properties at the species level
symmetrise_w

Symmetrise_w
printoutModuleInformation

printoutModuleInformation
schemske1978

A flower visitation network from Urbana, IL, USA
shuffle.web

Shuffle web entries
nullmodel

Generates null models for network analysis
tnet_igraph

Exports a tnet network to an igraph object
restrictednull

The restricted null model accounting for modules with nested entries
vazllao

A pollination network.
olesen2002aigrettes

A flower visitation network from the Azores
vazcer

A pollination network.
sortmatrix

Organise matrix by topology
olesen2002flores

Another flower visitation network from the Azores
vaznull

Null model with constrained connectance and moderately constrained marginal totals
visweb

Plotting function to visualize a bipartite food web
versionlog

Log of bipartite versions and changes
plotmatrix

Plot a matrix organised by topology
swap.web

Creates null model for bipartite networks
strength

Computes species strength according to either of two definitions
vazquez.example

Examples for some analyses
sortweb

Function to sort bipartite webs
vazmasc

A pollination network.
slope.bipartite

Slope of extinction simulation
web2edges

Conversion of a network matrix into a (weighted) edge list
vazquenc

A pollination network.
vazmasnc

A pollination network.
olito2015

A pollination network from the Canadian Rockies
small1976

A flower visitation network from a peat bog in Ottawa, Canada
vazquec

A pollination network.
plotPAC

Function to draw a circular plot to visualise potential apparent competition (PAC)
webs2array

Puts two or more webs into one array of webs
wine

Weighted-Interaction Nestedness Estimator
togetherness

Calculates the number of identical co-presences and co-absences for species-on-islands
vazarr

A pollination network.
PDI

Paired Differences Index
PAC

Potential for Apparent Competition
ND

Normalised degree, betweenness and closeness centrality
C.score

Calculates the (normalised) mean number of checkerboard combinations (C-score) in a matrix
Safariland

A pollination web from Argentina
array2linkmx

Reshape a webarray to a web X link matrix
V.ratio

Calculates the variance-ratio as suggested by Schluter (1984)
NOS

Calculates the node overlap and separation according to Strona & Veech (2015)
H2fun

Specialisation of a bipartite web.
as.one.mode

Conversion of a network matrix