Defines functions getNumberOfNodes

Documented in getNumberOfNodes

#' Returns number of nodes of a network.
#' @template arg_network
#' @return [\code{integer(1)}]
#'   Number of nodes of the network.
#' @export
getNumberOfNodes = function(x) {
  assertClass(x, "Network")

Try the netgen package in your browser

Any scripts or data that you put into this service are public.

netgen documentation built on May 30, 2017, 2:12 a.m.