as.BinaryNet.default {lolog}R 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

[Package lolog version 1.3.1 Index]