Convert to either an UndirectedNet or DirectedNet object
Convert to either an UndirectedNet or DirectedNet object
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.