power.law.fit {igraph} | R Documentation |
Fitting a power-law distribution function to discrete data
Description
power.law.fit()
was renamed to fit_power_law()
to create a more
consistent API.
Usage
power.law.fit(
x,
xmin = NULL,
start = 2,
force.continuous = FALSE,
implementation = c("plfit", "R.mle"),
...
)
Arguments
x |
The data to fit, a numeric vector. For implementation
‘ |
xmin |
Numeric scalar, or |
start |
Numeric scalar. The initial value of the exponent for the
minimizing function, for the ‘ |
force.continuous |
Logical scalar. Whether to force a continuous
distribution for the ‘ |
implementation |
Character scalar. Which implementation to use. See details below. |
... |
Additional arguments, passed to the maximum likelihood
optimizing function, |