Learn R Programming

mcPAFit (version 0.1.4)

get_my_statistics: Gathering summarized statistics from growing networks

Description

A function to gather sufficient statistics of a growing network.

Usage

get_my_statistics(net, net_type = "directed")

Arguments

net

A three-column matrix containing the network. Each row is an edge.

net_type

String. Indicates the type of the network. Possible values are "directed" or "undirected".

Value

An object containing the summarized statistics of the network.

References

1. Pham, T. and Sheridan, P. and Shimodaira, H. (2015). mcPAFit: Nonparametric Measurement of Preferential Attachment and Fitness from a Single Network Snapshot. Conference on Complex Systems 2015, September 2015, Arizona.

Examples

Run this code
library("mcPAFit")
data  <- simple_net(100)
stats <- get_my_statistics(data)

Run the code above in your browser using DataLab