Description Usage Arguments Value Author(s) References Examples
This function estimate the attachment exponent of preferential attachment.
1 | estimate_alpha(net, net_type = "directed")
|
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 |
A list containing the estimated attachment exponenet and its standard deviation.
Thong Pham thongpham@thongpham.net
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.
1 2 3 | library("mcPAFit")
data <- simple_net(100)
result <- estimate_alpha(data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.