to_one_mode: Transform to one-mode

Description Usage Arguments Author(s)

View source: R/cleaning_and_structuring_tools.R

Description

to_one_mode takes in an igraph object, tests if bipartite, and proceeds to project the network. This evaluation can be also conducted on one-mode networks, yet no action will occur.'

Usage

1
to_one_mode(g, project = "rows")

Arguments

g,

An igraph object produced by the to_graph function.

project,

Projection type for igraph to extract. "rows" will extract a one-mode matrix of rows-to-rows, while "columns" will extract a one-mode matrix of colums-to-columns.

Author(s)

Christopher Callaghan, cjcallag@nps.edu


NPSCORELAB/COREnets documentation built on March 28, 2020, 7:57 a.m.