Learn R Programming

snowboot (version 0.5.0)

summary_net: Summary of a Network Degree Sequence

Description

This function provides summary statistics of a network degree distribution.

Usage

summary_net(net)

Arguments

net
A network object that is list containing: [object Object],[object Object],[object Object] The object can be created by local.network.MR.new5 or it can be imported.

Value

  • a list consisting of:
  • realddA vector of length net$n where each element corresponds to the degree of a node in the network.
  • rmeanA numeric vector of length one that is the arithmetic mean of realdd. see (mean).
  • rquartThe lower, median, and upper quartiles of degree sequence realdd.
  • rfreqA numeric vector of length five where each element corresponds to the proportion of seeds with degree: 0, 1, 2, 3, and 4 (respectively).
  • rdeciA numeric vector of length nine containing the deciles of of degree sequence realdd in increasing order.

Examples

Run this code
net <- artificial_networks[[1]]
a <- summary_net(net)

Run the code above in your browser using DataLab