Learn R Programming

⚠️There's a newer version (2.21) of this package.Take me there.

bipartite (version 2.11)

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

Version

2.11

License

GPL

Issues

Pull Requests

Stars

Forks

Maintainer

Carsten F Dormann

Last Published

July 11th, 2018

Functions in bipartite (2.11)

compart

Detects compartments
mgen

Generate simulated network according to a given probability matrix
dfun

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

Deletes empty rows and columns from a matrix.
DIRT_LPA_wb_plus

Functions "LPA_wb_plus" and "DIRT_LPA_wb_plus"
frame2webs

Converts a table of observations into a network matrix
linklevel

Indices of a bipartite network at the link level
genweb

Generate a random bipartite web
kevan1970

A pollination network from Northern Ellesmere Island, Canada
plotPAC

Function to draw a circular plot to visualise potential apparent competition (PAC)
moduleWeb-class

Class "moduleWeb"
nestedcontribution

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

Calculates nestedness temperature of presence/absence matrices
visweb

Plotting function to visualize a bipartite food web
robustness

Robustness to species extinctions
endpoint

Computes end-point degrees for a bipartite network
schemske1978

A flower visitation network from Urbana, IL, USA
plotweb

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

Log of bipartite versions and changes
nodespec

Calculates the node-based specialisation index
discrepancy

Calculates discrepancy of a matrix
listModuleInformation

listModuleInformation
distance_w

Distance in a weighted network
extinction

Simulates extinction of a species from a bipartite network
mosquin1967

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

Flower visitation network from a meadow near Bristol, UK
junker2013

Flower visitation network
kato1990

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

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

Calculates the functional complementarity for the rows of a web
bipartite-package

Analysis of bipartite ecological webs
motten1982

A spring flower visitation network from North Carolina, USA
npartite

Computes indices for a masked-one-mode network
grouplevel

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

Another flower visitation network from the Azores
olito2015

A pollination network from the Canadian Rockies
nullmodel

Generates null models for network analysis
ollerton2003

ollerton2003
olesen2002aigrettes

A flower visitation network from the Azores
inouye1988

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

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

Calculates any of several measures of nestedness
second.extinct

Secondary extinctions in bipartite networks
sortweb

Function to sort bipartite webs
slope.bipartite

Slope of extinction simulation
small1976

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

Shuffle web entries
specieslevel

Calculate various indices for network properties at the species level
wine

Weighted-Interaction Nestedness Estimator
strength

Computes species strength according to either of two definitions
swap.web

Creates null model for bipartite networks
plotModuleWeb

plotModuleWeb
r2dexternal

Generates null models for network analysis by considering external abundances
vazmasc

A pollination network.
togetherness

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

A pollination network.
vazmasnc

A pollination network.
vazarr

A pollination network.
vazquez.example

Examples for some analyses
nestedrank

Calculates the rank of a species in a matrix sorted for maximum nestedness
vazcer

A pollination network.
networklevel

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

A pollination network.
null.distr

Null model based on fitted marginal distribution
vaznull

Null model with constrained connectance and moderately constrained marginal totals
null.t.test

Compares observed pattern to random webs.
plotweb2

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

A pollination network.
printoutModuleInformation

printoutModuleInformation
symmetrise_w

Symmetrise_w
tnet_igraph

Exports a tnet network to an igraph object
web2edges

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

Puts two or more webs into one array of webs
as.tnet

Ensures that networks conform to the tnet stardards
Safariland

A pollination web from Argentina
ND

Normalised degree, betweenness and closeness centrality
NOS

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

Paired Differences Index
V.ratio

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

Potential for Apparent Competition
H2fun

Specialisation of a bipartite web.
as.one.mode

Conversion of a network matrix
C.score

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

Redefined clustering coefficient for two-mode networks
betweenness_w

Betweenness centrality in a weighted network
closeness_w

Closeness centrality in a weighted network
bezerra2009

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

computeModules
czvalues

Computes c and z for network modules
barrett1987

Individuals caught in a pollination web in boreal Canada.
degreedistr

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