estimate_alpha: Estimating the attachment exponent of preferential attachment

Description Usage Arguments Value Author(s) References Examples

Description

This function estimate the attachment exponent of preferential attachment.

Usage

1
estimate_alpha(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

A list containing the estimated attachment exponenet and its standard deviation.

Author(s)

Thong Pham [email protected]

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

1
2
3
library("mcPAFit")
data   <- simple_net(100)
result <- estimate_alpha(data)

mcPAFit documentation built on May 2, 2019, 11:42 a.m.