Learn R Programming

snowboot (version 0.5.1)

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:
edges
The edgelist of the network. A two column matrix where each row is an edge.

degree
The degree sequence of the network, which is an integer vector of length n.

n
The network order.

The object can be created by local.network.MR.new5 or it can be imported.

Value

a list consisting of:
realdd
A vector of length net$n where each element corresponds to the degree of a node in the network.
rmean
A numeric vector of length one that is the arithmetic mean of realdd. see mean.
rquart
The lower, median, and upper quartiles of degree sequence realdd.
rfreq
A numeric vector of length five where each element corresponds to the proportion of seeds with degree: 0, 1, 2, 3, and 4 (respectively).
rdeci
A 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