npartite: Computes indices for a masked-one-mode network
Description
Computes network indices for networks that are represented as stacks of bipartite networks (``npartite''), thus having many impossible links.
Usage
npartite(as.one.mode.web, index=c("connectance", "links per species", "mean degree"))
Value
A named list of indices.
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.