Package: poweRlaw 1.0.0
poweRlaw: Analysis of Heavy Tailed Distributions
An implementation of maximum likelihood estimators for a variety of heavy tailed distributions, including both the discrete and continuous power law distributions. Additionally, a goodness-of-fit based approach is used to estimate the lower cut-off for the scaling region.
Authors:
poweRlaw_1.0.0.tar.gz
poweRlaw_1.0.0.zip(r-4.7)poweRlaw_1.0.0.zip(r-4.6)poweRlaw_1.0.0.zip(r-4.5)
poweRlaw_1.0.0.tgz(r-4.6-any)poweRlaw_1.0.0.tgz(r-4.5-any)
poweRlaw_1.0.0.tar.gz(r-4.7-any)poweRlaw_1.0.0.tar.gz(r-4.6-any)
poweRlaw_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
poweRlaw/json (API)
NEWS
| # Install 'poweRlaw' in R: |
| install.packages('poweRlaw', repos = c('https://csgillespie.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/csgillespie/powerlaw/issues
Pkgdown/docs site:https://csgillespie.github.io
- bootstrap_moby - Example bootstrap results for the full Moby Dick data set
- bootstrap_p_moby - Example bootstrap results for the full Moby Dick data set
- moby - Moby Dick word count
- moby_sample - Moby Dick word count
- native_american - Casualties in the American Indian Wars
- population - City boundaries and the universality of scaling laws
- swiss_prot - Word frequency in the Swiss-Prot database
- us_american - Casualties in the American Indian Wars
Last updated from:46dd4a1769. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 129 | ||
| source / vignettes | OK | 200 | ||
| linux-release-x86_64 | OK | 121 | ||
| macos-release-arm64 | OK | 337 | ||
| macos-oldrel-arm64 | OK | 189 | ||
| windows-devel | OK | 143 | ||
| windows-release | OK | 97 | ||
| windows-oldrel | OK | 91 | ||
| wasm-release | OK | 95 |
Exports:bootstrapbootstrap_pcompare_distributionsconexpconlnormconplconweibulldisexpdislnormdispldispoisdist_all_cdfdist_cdfdist_data_all_cdfdist_data_cdfdist_lldist_pdfdist_randdplcondpldisestimate_parsestimate_xminget_bootstrap_p_simsget_bootstrap_simsget_distance_statisticget_KS_statisticget_nget_ntaillinesplotpointspplconppldisrplconrpldisshow
Dependencies:pracma
An introduction to the poweRlaw package
Rendered froma_introduction.Rnwusingknitr::knitron Jun 01 2026.Last update: 2025-02-02
Started: 2018-01-25
Examples using the poweRlaw package
Rendered fromb_powerlaw_examples.Rnwusingknitr::knitron Jun 01 2026.Last update: 2025-02-02
Started: 2018-01-25
Comparing distributions with the poweRlaw package
Rendered fromc_comparing_distributions.Rnwusingknitr::knitron Jun 01 2026.Last update: 2025-02-02
Started: 2018-01-25
Journal of Statistical Software Article
Rendered fromd_jss_paper.Rnwusingutils::Sweaveon Jun 01 2026.Last update: 2025-02-02
Started: 2018-01-25
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| The poweRlaw package | poweRlaw-package powerlaw-package poweRlaw powerlaw |
| Example bootstrap results for the full Moby Dick data set | bootstrap_moby bootstrap_p_moby |
| Vuong's test for non-nested models | compare_distributions |
| Heavy-tailed distributions | conexp conexp-class conlnorm conlnorm-class conpl conpl-class conweibull conweibull-class disexp disexp-class dislnorm dislnorm-class displ displ-class dispois dispois-class |
| The data cumulative distribution function | dist_all_cdf dist_data_all_cdf dist_data_all_cdf,discrete_distribution-method dist_data_cdf dist_data_cdf,ctn_distribution-method dist_data_cdf,discrete_distribution-method |
| The cumulative distribution function (cdf) | dist_all_cdf,conexo-method dist_all_cdf,conexp-method dist_all_cdf,conlnorm-method dist_all_cdf,conpl-method dist_all_cdf,conweibull-method dist_all_cdf,disexp-method dist_all_cdf,dislnorm-method dist_all_cdf,displ-method dist_all_cdf,dispois-method dist_cdf dist_cdf,conexp-method dist_cdf,conlnorm-method dist_cdf,conpl-method dist_cdf,conweibull-method dist_cdf,disexp-method dist_cdf,dislnorm-method dist_cdf,displ-method dist_cdf,dispois-method |
| The log-likelihood function | dist_ll dist_ll,conexp-method dist_ll,conlnorm-method dist_ll,conpl-method dist_ll,conweibull-method dist_ll,disexp-method dist_ll,dislnorm-method dist_ll,displ-method dist_ll,dispois-method |
| The probability density function (pdf) | dist_pdf dist_pdf,conexp-method dist_pdf,conlnorm-method dist_pdf,conpl-method dist_pdf,conweibull-method dist_pdf,disexp-method dist_pdf,dislnorm-method dist_pdf,displ-method dist_pdf,dispois-method |
| Random number generation for the distribution objects | dist_rand dist_rand,conexp-method dist_rand,conlnorm-method dist_rand,conpl-method dist_rand,conweibull-method dist_rand,disexp-method dist_rand,dislnorm-method dist_rand,displ-method dist_rand,dispois-method |
| The continuous power-law distribution | dplcon pplcon rplcon |
| Discrete power-law distribution | dpldis ppldis rpldis |
| Estimates the distributions using mle. | estimate_pars |
| Estimating the lower bound (xmin) | bootstrap bootstrap_p estimate_xmin get_bootstrap_p_sims get_bootstrap_sims get_distance_statistic |
| Deprecated function | get_KS_statistic |
| Sample size | get_n |
| Values greater than or equal to xmin | get_ntail |
| Generic plotting functions | lines,distribution-method plot,distribution-method points,distribution-method |
| Moby Dick word count | moby moby_sample |
| Casualties in the American Indian Wars (1776 and 1890) | NativeAmerican native_american USAmerican us_american |
| Plot methods for bootstrap objects | plot.bs_p_xmin plot.bs_xmin plot.compare_distributions |
| City boundaries and the universality of scaling laws | Population population |
| Generic show method for distribution objects | show,distribution-method |
| Word frequency in the Swiss-Prot database | Swiss_prot swiss_prot |
