npartite: Computes indices for a masked-one-mode network

Description Usage Arguments Value Note Author(s) See Also Examples

Description

Computes network indices for networks that are represented as stacks of bipartite networks (“npartite”), thus having many impossible links.

Usage

1
npartite(as.one.mode.web, index=c("connectance", "links per species", "mean degree"))

Arguments

as.one.mode.web

a one-mode representation of a network; if this is based on several bipartite networks, i.e. species in levels NOT interacting within that level OR without interactions between separated levels (e.g. 1st and 3rd) then such forbidden links must be represented as NA! For bipartite networks this can easily be achieved using as.one.mode(., fill=NA), but obviously for bipartite networks this function is obsolete.

index

Vector of names of indices to be computed for the npartite network. Currently only connectance and links per species (=mean degree) are available.

Value

A named list of indices.

Note

An attempt is made to ensure that these indices converge to the same value as returned for a bipartite network!

Author(s)

Carsten F. Dormann carsten.dormann@biom.uni-freiburg.de

See Also

as.one.mode.

Examples

1
2
3
image(aomw <- as.one.mode(Safariland, fill=NA))
npartite(aomw)
networklevel(Safariland, index=c("connectance", "links per species"))


Search within the bipartite package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.