fitpl: Fit a power law distribution to the degree distribution of...

Description Usage Arguments Value Examples

View source: R/dd.fitpl.R

Description

Fit a power law distribution to the degree distribution of the language network.

Usage

1
fitpl(distribution, estimates = F)

Arguments

distribution

A vector of integers representing the degree distribution of a given network.

Value

If estimates = F, returns the fitted model for subsequent analyses. If estimates = T, returns optimal xmin and parameters.

Examples

1
2
3
4
fitpl(distribution, estimates = T)
# xmin, alpha (par1) values will be listed
model.pl <- fitpl(distribution, estimates = F)
# use this model for other functions

csqsiew/langnetr documentation built on May 14, 2019, 10:37 a.m.