as.bipartite: Converts a network object (unipartite) to a two-mode...

Description Usage Arguments Value Author(s) Examples

View source: R/as.bipartite.R

Description

Bipartite network approaches are often used for analyzing the structure of interactions among species in communities. Although typically ecosystem networks are handled using a unipartite representation, anlayzing them from a bipartite perspective may be informative. This function provides an easy means for converting to a bipartite representation as long as there is a natural division to categorize species into distinct modes.

Usage

1
as.bipartite(x = "network object", y = "membership vector")

Arguments

x

A network object.

y

A vector of membership values.

Value

Returns a matrix with the species of one mode arrayed in rows and the other in columns.

Author(s)

Matthew K. Lau

Examples

1
2

enaR documentation built on May 1, 2019, 10:54 p.m.