{
  "_id": "6a1d6ebb1d7bb097a0a4fec0",
  "Type": "Package",
  "Package": "poweRlaw",
  "Title": "Analysis of Heavy Tailed Distributions",
  "Version": "1.0.0",
  "Authors@R": "person(\"Colin\", \"Gillespie\", , \"csgillespie@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-1787-0275\"))",
  "Maintainer": "Colin Gillespie <csgillespie@gmail.com>",
  "Description": "An implementation of maximum likelihood estimators for a\nvariety of heavy tailed distributions, including both the\ndiscrete and continuous power law distributions. Additionally,\na goodness-of-fit based approach is used to estimate the lower\ncut-off for the scaling region.",
  "License": "GPL-2 | GPL-3",
  "URL": "https://github.com/csgillespie/poweRlaw,\nhttp://csgillespie.github.io/poweRlaw/",
  "BugReports": "https://github.com/csgillespie/poweRlaw/issues",
  "VignetteBuilder": "knitr",
  "ByteCompile": "true",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Collate": "'aaa_all_classes.R' 'all_generics.R' 'bootstrap.R'\n'bootstrap_p.R' 'checks.R' 'compare_distributions.R'\n'conlnorm.R' 'data_help_files.R' 'def_conexp.R' 'def_conpl.R'\n'def_conweibull.R' 'def_disexp.R' 'def_dislnorm.R'\n'def_displ.R' 'def_dispois.R' 'def_template.R'\n'dist_data_cdf_methods.R' 'estimate_pars.R' 'estimate_xmin.R'\n'get_n.R' 'get_ntail.R' 'lines_methods.R' 'plcon.R' 'pldis.R'\n'plot_methods.R' 'points_methods.R' 'powerlaw-package.R'\n'show_methods.R' 'timer.R'",
  "Repository": "https://csgillespie.r-universe.dev",
  "Date/Publication": "2025-02-03 09:07:24 UTC",
  "RemoteUrl": "https://github.com/csgillespie/powerlaw",
  "RemoteRef": "HEAD",
  "RemoteSha": "46dd4a1769465f0e2447721d88b701c26844641e",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-01 11:30:09 UTC",
    "User": "root"
  },
  "Author": "Colin Gillespie [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-1787-0275>)",
  "MD5sum": "a12db174b5413c4aaaa14df535929d2b",
  "_user": "csgillespie",
  "_type": "src",
  "_file": "poweRlaw_1.0.0.tar.gz",
  "_fileid": "48b6a2c0d1e95a5f96ffde8c47094747639737a9425bec749fe6184a8c9d45fc",
  "_filesize": 5101662,
  "_sha256": "48b6a2c0d1e95a5f96ffde8c47094747639737a9425bec749fe6184a8c9d45fc",
  "_created": "2026-06-01T11:30:09.000Z",
  "_published": "2026-06-01T11:36:27.635Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78842763359,
      "time": 129,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7330330618"
    },
    {
      "job": 78842763373,
      "time": 121,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7330327815"
    },
    {
      "job": 78842763421,
      "time": 189,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7330339334"
    },
    {
      "job": 78842763343,
      "time": 337,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7330382176"
    },
    {
      "job": 78842247400,
      "time": 200,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7330287067"
    },
    {
      "job": 78842763385,
      "time": 95,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7330319391"
    },
    {
      "job": 78842763401,
      "time": 143,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7330335237"
    },
    {
      "job": 78842763351,
      "time": 91,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7330318064"
    },
    {
      "job": 78842763489,
      "time": 97,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7330319931"
    }
  ],
  "_buildurl": "https://github.com/r-universe/csgillespie/actions/runs/26752028599",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/csgillespie/powerlaw",
  "_commit": {
    "id": "46dd4a1769465f0e2447721d88b701c26844641e",
    "author": "Colin Gillespie <csgillespie@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "CRAN release (#104)\n\n* docs: Improve lognormal doc\r\n* chore: Spell check\r\n* Linting and version bumping\r\n* fix: Partial arg matching in tests\r\n",
    "time": 1738573644
  },
  "_maintainer": {
    "name": "Colin Gillespie",
    "email": "csgillespie@gmail.com",
    "login": "csgillespie",
    "bluesky": "@csgillespie.bsky.social",
    "linkedin": "in/colin-gillespie-25028332",
    "description": "Author of Efficient R programming.  R consultant with Jumping Rivers and Senior Statistics lecturer at Newcastle University.",
    "uuid": 1267747,
    "orcid": "0000-0003-1787-0275"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "pracma",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "csgillespie",
  "_selfowned": true,
  "_usedby": 21,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "clauset",
    "powerlaw"
  ],
  "_stars": 113,
  "_contributors": [
    {
      "user": "csgillespie",
      "count": 503,
      "uuid": 1267747
    },
    {
      "user": "maxbiostat",
      "count": 8,
      "uuid": 2875083
    },
    {
      "user": "mpadge",
      "count": 5,
      "uuid": 6697851
    },
    {
      "user": "linzhp",
      "count": 3,
      "uuid": 98395
    },
    {
      "user": "mbjoseph",
      "count": 1,
      "uuid": 2664564
    }
  ],
  "_userbio": {
    "uuid": 1267747,
    "type": "user",
    "name": "Colin Gillespie",
    "description": "Author of Efficient R programming.  R consultant with Jumping Rivers and Senior Statistics lecturer at Newcastle University."
  },
  "_downloads": {
    "count": 7842,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/poweRlaw"
  },
  "_mentions": 33,
  "_devurl": "https://github.com/csgillespie/powerlaw",
  "_pkgdown": "http://csgillespie.github.io/poweRlaw/",
  "_searchresults": 504,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/poweRlaw.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/csgillespie/powerlaw",
  "_realowner": "csgillespie",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.20.0",
      "date": "2013-06-07"
    },
    {
      "version": "0.20.1",
      "date": "2013-06-25"
    },
    {
      "version": "0.20.2",
      "date": "2013-12-19"
    },
    {
      "version": "0.20.3",
      "date": "2014-05-27"
    },
    {
      "version": "0.20.5",
      "date": "2014-06-12"
    },
    {
      "version": "0.30.0",
      "date": "2015-02-20"
    },
    {
      "version": "0.30.1",
      "date": "2015-03-13"
    },
    {
      "version": "0.30.2",
      "date": "2015-04-16"
    },
    {
      "version": "0.50.0",
      "date": "2015-08-11"
    },
    {
      "version": "0.60.0",
      "date": "2016-03-31"
    },
    {
      "version": "0.60.3",
      "date": "2016-04-12"
    },
    {
      "version": "0.70.0",
      "date": "2016-12-22"
    },
    {
      "version": "0.70.1",
      "date": "2017-08-29"
    },
    {
      "version": "0.70.2",
      "date": "2019-01-10"
    },
    {
      "version": "0.70.4",
      "date": "2020-04-07"
    },
    {
      "version": "0.70.5",
      "date": "2020-04-23"
    },
    {
      "version": "0.70.6",
      "date": "2020-04-25"
    },
    {
      "version": "0.80.0",
      "date": "2024-01-25"
    },
    {
      "version": "1.0.0",
      "date": "2025-02-03"
    }
  ],
  "_exports": [
    "bootstrap",
    "bootstrap_p",
    "compare_distributions",
    "conexp",
    "conlnorm",
    "conpl",
    "conweibull",
    "disexp",
    "dislnorm",
    "displ",
    "dispois",
    "dist_all_cdf",
    "dist_cdf",
    "dist_data_all_cdf",
    "dist_data_cdf",
    "dist_ll",
    "dist_pdf",
    "dist_rand",
    "dplcon",
    "dpldis",
    "estimate_pars",
    "estimate_xmin",
    "get_bootstrap_p_sims",
    "get_bootstrap_sims",
    "get_distance_statistic",
    "get_KS_statistic",
    "get_n",
    "get_ntail",
    "lines",
    "plot",
    "points",
    "pplcon",
    "ppldis",
    "rplcon",
    "rpldis",
    "show"
  ],
  "_datasets": [
    {
      "name": "bootstrap_moby",
      "title": "Example bootstrap results for the full Moby Dick data set",
      "object": "bootstrap_moby",
      "file": "bootstrap_moby.RData",
      "class": [
        "bs_xmin"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "bootstrap_p_moby",
      "title": "Example bootstrap results for the full Moby Dick data set",
      "object": "bootstrap_p_moby",
      "file": "bootstrap_p_moby.RData",
      "class": [
        "bs_p_xmin"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "moby",
      "title": "Moby Dick word count",
      "object": "moby",
      "file": "moby.RData",
      "class": [
        "integer"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "moby_sample",
      "title": "Moby Dick word count",
      "object": "moby_sample",
      "file": "moby_sample.RData",
      "class": [
        "integer"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "native_american",
      "title": "Casualties in the American Indian Wars (1776 and 1890)",
      "object": "native_american",
      "file": "native_american.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Cas",
        "Date"
      ],
      "rows": 1297,
      "table": false,
      "tojson": true
    },
    {
      "name": "population",
      "title": "City boundaries and the universality of scaling laws",
      "object": "population",
      "file": "population.RData",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "swiss_prot",
      "title": "Word frequency in the Swiss-Prot database",
      "object": "swiss_prot",
      "file": "swiss_prot.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Key",
        "Value"
      ],
      "rows": 10745,
      "table": true,
      "tojson": true
    },
    {
      "name": "us_american",
      "title": "Casualties in the American Indian Wars (1776 and 1890)",
      "object": "us_american",
      "file": "us_american.RData",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Cas",
        "Date"
      ],
      "rows": 1232,
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "poweRlaw-package",
      "title": "The poweRlaw package",
      "topics": [
        "poweRlaw-package",
        "powerlaw-package",
        "poweRlaw",
        "powerlaw"
      ]
    },
    {
      "page": "bootstrap_moby",
      "title": "Example bootstrap results for the full Moby Dick data set",
      "topics": [
        "bootstrap_moby",
        "bootstrap_p_moby"
      ]
    },
    {
      "page": "compare_distributions",
      "title": "Vuong's test for non-nested models",
      "topics": [
        "compare_distributions"
      ]
    },
    {
      "page": "displ",
      "title": "Heavy-tailed distributions",
      "topics": [
        "conexp",
        "conexp-class",
        "conlnorm",
        "conlnorm-class",
        "conpl",
        "conpl-class",
        "conweibull",
        "conweibull-class",
        "disexp",
        "disexp-class",
        "dislnorm",
        "dislnorm-class",
        "displ",
        "displ-class",
        "dispois",
        "dispois-class"
      ]
    },
    {
      "page": "dist_data_cdf-methods",
      "title": "The data cumulative distribution function",
      "topics": [
        "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"
      ]
    },
    {
      "page": "dist_cdf-methods",
      "title": "The cumulative distribution function (cdf)",
      "topics": [
        "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"
      ]
    },
    {
      "page": "dist_ll-methods",
      "title": "The log-likelihood function",
      "topics": [
        "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"
      ]
    },
    {
      "page": "dist_pdf-methods",
      "title": "The probability density function (pdf)",
      "topics": [
        "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"
      ]
    },
    {
      "page": "dist_rand-methods",
      "title": "Random number generation for the distribution objects",
      "topics": [
        "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"
      ]
    },
    {
      "page": "dplcon",
      "title": "The continuous power-law distribution",
      "topics": [
        "dplcon",
        "pplcon",
        "rplcon"
      ]
    },
    {
      "page": "dpldis",
      "title": "Discrete power-law distribution",
      "topics": [
        "dpldis",
        "ppldis",
        "rpldis"
      ]
    },
    {
      "page": "estimate_pars",
      "title": "Estimates the distributions using mle.",
      "topics": [
        "estimate_pars"
      ]
    },
    {
      "page": "estimate_xmin",
      "title": "Estimating the lower bound (xmin)",
      "topics": [
        "bootstrap",
        "bootstrap_p",
        "estimate_xmin",
        "get_bootstrap_p_sims",
        "get_bootstrap_sims",
        "get_distance_statistic"
      ]
    },
    {
      "page": "get_KS_statistic-deprecated",
      "title": "Deprecated function",
      "topics": [
        "get_KS_statistic"
      ]
    },
    {
      "page": "get_n",
      "title": "Sample size",
      "topics": [
        "get_n"
      ]
    },
    {
      "page": "get_ntail",
      "title": "Values greater than or equal to xmin",
      "topics": [
        "get_ntail"
      ]
    },
    {
      "page": "plot-distribution-method",
      "title": "Generic plotting functions",
      "topics": [
        "lines,distribution-method",
        "plot,distribution-method",
        "points,distribution-method"
      ]
    },
    {
      "page": "moby",
      "title": "Moby Dick word count",
      "topics": [
        "moby",
        "moby_sample"
      ]
    },
    {
      "page": "native_american",
      "title": "Casualties in the American Indian Wars (1776 and 1890)",
      "topics": [
        "NativeAmerican",
        "native_american",
        "USAmerican",
        "us_american"
      ]
    },
    {
      "page": "plot.bs_xmin",
      "title": "Plot methods for bootstrap objects",
      "topics": [
        "plot.bs_p_xmin",
        "plot.bs_xmin",
        "plot.compare_distributions"
      ]
    },
    {
      "page": "population",
      "title": "City boundaries and the universality of scaling laws",
      "topics": [
        "Population",
        "population"
      ]
    },
    {
      "page": "show-distribution-method",
      "title": "Generic show method for distribution objects",
      "topics": [
        "show,distribution-method"
      ]
    },
    {
      "page": "swiss_prot",
      "title": "Word frequency in the Swiss-Prot database",
      "topics": [
        "Swiss_prot",
        "swiss_prot"
      ]
    }
  ],
  "_readme": "https://github.com/csgillespie/powerlaw/raw/HEAD/README.md",
  "_rundeps": [
    "pracma"
  ],
  "_vignettes": [
    {
      "source": "a_introduction.Rnw",
      "filename": "a_introduction.pdf",
      "title": "An introduction to the poweRlaw package ",
      "engine": "knitr::knitr",
      "headings": [],
      "created": "2018-01-25 14:20:57",
      "modified": "2025-02-02 15:30:01",
      "commits": 9
    },
    {
      "source": "b_powerlaw_examples.Rnw",
      "filename": "b_powerlaw_examples.pdf",
      "title": "Examples using the poweRlaw package ",
      "engine": "knitr::knitr",
      "headings": [],
      "created": "2018-01-25 14:20:57",
      "modified": "2025-02-02 15:30:01",
      "commits": 5
    },
    {
      "source": "c_comparing_distributions.Rnw",
      "filename": "c_comparing_distributions.pdf",
      "title": "Comparing distributions with the poweRlaw package ",
      "engine": "knitr::knitr",
      "headings": [],
      "created": "2018-01-25 14:20:57",
      "modified": "2025-02-02 15:30:01",
      "commits": 4
    },
    {
      "source": "d_jss_paper.Rnw",
      "filename": "d_jss_paper.pdf",
      "title": "Journal of Statistical Software Article ",
      "engine": "utils::Sweave",
      "headings": [],
      "created": "2018-01-25 14:20:57",
      "modified": "2025-02-02 15:30:01",
      "commits": 2
    }
  ],
  "_score": 12.352366354338658,
  "_indexed": true,
  "_nocasepkg": "powerlaw",
  "_universes": [
    "csgillespie"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-01T11:32:12.000Z",
      "distro": "noble",
      "commit": "46dd4a1769465f0e2447721d88b701c26844641e",
      "fileid": "3c0a3d5019e3a0da49e499cb440a15b6afe16a8a2366e23012ff33678b254515",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csgillespie/actions/runs/26752028599"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-01T11:32:06.000Z",
      "distro": "noble",
      "commit": "46dd4a1769465f0e2447721d88b701c26844641e",
      "fileid": "fae6831ee7597a75aa9801474ea070ff89954fad0b20f52448113ce0bb2127e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csgillespie/actions/runs/26752028599"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-01T11:32:48.000Z",
      "commit": "46dd4a1769465f0e2447721d88b701c26844641e",
      "fileid": "ec38e21042873bdd8f7d4c930779beea502c0a3e29b61525c8731179b89c3ee9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csgillespie/actions/runs/26752028599"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-01T11:34:51.000Z",
      "commit": "46dd4a1769465f0e2447721d88b701c26844641e",
      "fileid": "c8e68f3b9aa363ba35772764e11358dc65100d3a3cf837b6b3ae594c2380a927",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csgillespie/actions/runs/26752028599"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-01T11:32:03.000Z",
      "commit": "46dd4a1769465f0e2447721d88b701c26844641e",
      "fileid": "8950b5d41cadfe6d160a888b72bde5f83c60fbb62fe30d7e455dc24e61abe2f8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/csgillespie/actions/runs/26752028599"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-01T11:31:58.000Z",
      "commit": "46dd4a1769465f0e2447721d88b701c26844641e",
      "fileid": "09578664608f12a5b539823d3e102128463e28cf78698b434a81602f45534fe7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csgillespie/actions/runs/26752028599"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-01T11:31:33.000Z",
      "commit": "46dd4a1769465f0e2447721d88b701c26844641e",
      "fileid": "7e23963a8cdd1153c1e935886ce2fe6991e4c413d607b602c28473897ce3a9f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csgillespie/actions/runs/26752028599"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-01T11:31:25.000Z",
      "commit": "46dd4a1769465f0e2447721d88b701c26844641e",
      "fileid": "ddfd042bc0ded0036d86717a4904751bd0cb8dd03c85986a18466866835c2d66",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/csgillespie/actions/runs/26752028599"
    }
  ]
}