as.BinaryNet.default: Convert to either an UndirectedNet or DirectedNet object

View source: R/binary-net.R

as.BinaryNet.defaultR Documentation

Convert to either an UndirectedNet or DirectedNet object

Description

Convert to either an UndirectedNet or DirectedNet object

Usage

## Default S3 method:
as.BinaryNet(x, ...)

Arguments

x

the object

...

unused

Details

Converts network objects to BinaryNets. This function also converts other graph formats, such as igraph and tidygraph, utilizing intergraph::asNetwork.

Value

either an Rcpp_UndirectedNet or Rcpp_DirectedNet object

Examples

data(ukFaculty)
net <- as.BinaryNet(ukFaculty)
net

lolog documentation built on May 29, 2024, 4:21 a.m.