程序代写代做代考 Peter Mattoon

Peter Mattoon
Question 4 Functions

· closeness(): This function computes the closeness centrality or how many steps to get from one node to every other node
· head(): This function only allows the first few results to be returned by the function contained in its parenthesis

· is.weighted(): This function returns a true or false response to the question of whether the graph being tested is a weighted graph or not.

Question 5
· Ego: the head function is also used to keep the results to a manageable size

/docProps/thumbnail.jpeg