Learn R Programming

bipartite (version 2.19)

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,452

Version

2.19

License

GPL

Issues

Pull Requests

Stars

Forks

Last Published

November 30th, 2023

Functions in bipartite (2.19)

barrett1987

Individuals caught in a pollination web in boreal Canada.
clustering_tm

Redefined clustering coefficient for two-mode networks
as.tnet

Ensures that networks conform to the tnet stardards
compart

Detects compartments
closeness_w

Closeness centrality in a weighted network
betalinkr

Calculate network dissimilarity (beta diversity) and its components
computeModules

computeModules
betweenness_w

Betweenness centrality in a weighted network
bezerra2009

Individuals observed in a flower-visitation network of oil-collecting bees in a Brazilian steppe.
bipartite-package

Analysis of bipartite ecological webs
degreedistr

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

Distance in a weighted network
extinction

Simulates extinction of a species from a bipartite network
dfun

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

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

Computes c and z for network modules
endpoint

Computes end-point degrees for a bipartite network
empty

Deletes empty rows and columns from a matrix.
discrepancy

Calculates discrepancy of a matrix
decimalr2dtable

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

listModuleInformation
junker2013

Flower visitation network
kato1990

No. of individuals caught in a pollination web of a Japanese beech forest
inouye1988

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

Indices of a bipartite network at the link level
fc

Calculates the functional complementarity for the rows of a web
genweb

Generate a random bipartite web
grouplevel

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

A pollination network from Northern Ellesmere Island, Canada
frame2webs

Converts a table of observations into a network matrix
moduleWeb-class

Class "moduleWeb"
nestedcontribution

Calculates the per-species contribution to nestedness (z-score relative to null model)
nest.smdm

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

Flower visitation network from a meadow near Bristol, UK
motten1982

A spring flower visitation network from North Carolina, USA
DIRT_LPA_wb_plus

Functions "LPA_wb_plus" and "DIRT_LPA_wb_plus"
mosquin1967

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

Generate simulated network according to a given probability matrix
nestedness

Calculates nestedness temperature of presence/absence matrices
nested

Calculates any of several measures of nestedness
null.distr

Null model based on fitted marginal distribution
nullmodel

Generates null models for network analysis
olesen2002flores

Another flower visitation network from the Azores
nestedrank

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

Compares observed pattern to random webs.
nodespec

Calculates the node-based specialisation index
npartite

Computes indices for a masked-one-mode network
olito2015

A pollination network from the Canadian Rockies
networklevel

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

A flower visitation network from the Azores
projecting_tm

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

Generates null models for network analysis by considering external abundances
ollerton2003

ollerton2003
plotPAC

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

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

Plot a matrix organised by topology
restrictednull

The restricted null model accounting for modules with nested entries
printoutModuleInformation

printoutModuleInformation
plotweb2

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

plotModuleWeb
slope.bipartite

Slope of extinction simulation
sortmatrix

Organise matrix by topology
specieslevel

Calculate various indices for network properties at the species level
strength

Computes species strength according to either of two definitions
robustness

Robustness to species extinctions
schemske1978

A flower visitation network from Urbana, IL, USA
small1976

A flower visitation network from a peat bog in Ottawa, Canada
shuffle.web

Shuffle web entries
second.extinct

Secondary extinctions in bipartite networks
tnet_igraph

Exports a tnet network to an igraph object
sortweb

Function to sort bipartite webs
vazarr

A pollination network.
vazllao

A pollination network.
vazmasnc

A pollination network.
symmetrise_w

Symmetrise_w
swap.web

Creates null model for bipartite networks
vazmasc

A pollination network.
vazcer

A pollination network.
togetherness

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

A pollination network.
vaznull

Null model with constrained connectance and moderately constrained marginal totals
vazquenc

A pollination network.
webs2array

Puts two or more webs into one array of webs
web2edges

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

Plotting function to visualize a bipartite food web
wine

Weighted-Interaction Nestedness Estimator
versionlog

Log of bipartite versions and changes
vazquez.example

Examples for some analyses
Safariland

A pollination web from Argentina
NOS

Calculates the node overlap and separation according to Strona & Veech (2015)
C.score

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

Normalised degree, betweenness and closeness centrality
array2linkmx

Reshape a webarray to a web X link matrix
H2fun

Specialisation of a bipartite web.
as.one.mode

Conversion of a network matrix
PDI

Paired Differences Index
V.ratio

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

Potential for Apparent Competition