estimate_alpha: Estimating the attachment exponent of preferential attachment

Description Usage Arguments Value Author(s) Examples

Description

This function estimate the attachment exponent of the log-linear preferential attachment in case we have a time-series.

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 thongpham@thongpham.net

Examples

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

thongphamthe/mcPAFit documentation built on May 20, 2019, 10:23 p.m.