csgillespie / poweRlaw

This package implements both the discrete and continuous maximum likelihood estimators for fitting the power-law distribution to data. Additionally, a goodness-of-fit based approach is used to estimate the lower cutoff for the scaling region.
109 stars 24 forks source link

Raise error when data are unique #16

Closed csgillespie closed 10 years ago

csgillespie commented 10 years ago

When the input data set contains only a single number, make sure that estimate_xmin behaves in a nice way.