as.BinaryNet.default function

Convert to either an UndirectedNet or DirectedNet object

Convert to either an UndirectedNet or DirectedNet object

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

Arguments

  • x: the object
  • ...: unused

Returns

either an Rcpp_UndirectedNet or Rcpp_DirectedNet object

Details

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

Examples

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