get_degree {HospitalNetwork}R Documentation

Compute the degree of each nodes in the network

Description

Compute the degree of each nodes in the network

Usage

get_degree(graph, modes = c("in", "out", "total"))

Arguments

graph

an igraph object

modes

the type of degree: "in", "out", "total"

Value

a data.table of nodes degree


[Package HospitalNetwork version 0.9.3 Index]