{
  "_id": "6a1f0c5db401979e7341cb18",
  "Package": "gambin",
  "Type": "Package",
  "Title": "Fit the Gambin Model to Species Abundance Distributions",
  "Version": "2.5.0",
  "Authors@R": "c(person(given=\"Thomas\", family=\"Matthews\", email=\"txm676@gmail.com\",\nrole = c(\"aut\", \"cre\")), person(given=c(\"Michael\", \"Krabbe\"),\nfamily=\"Borregaard\", email=\"mkborregaard@snm.ku.dk\", role = \"aut\"),\nperson(given=\"Karl\", family=\"Ugland\", role = \"aut\"),\nperson(given=\"Colin\", family=\"Gillespie\",\nemail=\"csgillespie@gmail.com\", role = \"aut\"))",
  "Description": "Fits unimodal and multimodal gambin distributions to\nspecies-abundance distributions from ecological data, as in in\nMatthews et al. (2014) <DOI:10.1111/ecog.00861>. 'gambin' is\nshort for 'gamma-binomial'. The main function is\nfit_abundances(), which estimates the 'alpha' parameter(s) of\nthe gambin distribution using maximum likelihood. Functions are\nalso provided to generate the gambin distribution and for\ncalculating likelihood statistics.",
  "URL": "https://github.com/txm676/gambin/",
  "BugReports": "https://github.com/txm676/gambin/issues",
  "License": "GPL-3",
  "RoxygenNote": "7.1.1",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Repository": "https://txm676.r-universe.dev",
  "Date/Publication": "2022-12-12 15:19:17 UTC",
  "RemoteUrl": "https://github.com/txm676/gambin",
  "RemoteRef": "HEAD",
  "RemoteSha": "3d459f51ef20f892a492bf733c6c882b28c48a90",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-17 09:36:11 UTC",
    "User": "root"
  },
  "Author": "Thomas Matthews [aut, cre],\nMichael Krabbe Borregaard [aut],\nKarl Ugland [aut],\nColin Gillespie [aut]",
  "Maintainer": "Thomas Matthews <txm676@gmail.com>",
  "MD5sum": "53f15ddf270e51df494a748860689f39",
  "_user": "txm676",
  "_type": "src",
  "_file": "gambin_2.5.0.tar.gz",
  "_fileid": "2594ac92e419e9f5b566a695a95311ec1186621eb8b324acf23654aacedf345b",
  "_filesize": 350267,
  "_sha256": "2594ac92e419e9f5b566a695a95311ec1186621eb8b324acf23654aacedf345b",
  "_created": "2026-05-17T09:36:11.000Z",
  "_published": "2026-06-02T17:01:17.632Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79126689210,
      "time": 103,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7041285184"
    },
    {
      "job": 79126689322,
      "time": 117,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7041286985"
    },
    {
      "job": 79126689705,
      "time": 118,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7041295034"
    },
    {
      "job": 79126689600,
      "time": 88,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7041286439"
    },
    {
      "job": 79126688728,
      "time": 166,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7041273045"
    },
    {
      "job": 79126688804,
      "time": 96,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7364470616"
    },
    {
      "job": 79126689431,
      "time": 86,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7041283240"
    },
    {
      "job": 79126689808,
      "time": 106,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7041285449"
    },
    {
      "job": 79126689797,
      "time": 122,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7041287610"
    }
  ],
  "_buildurl": "https://github.com/r-universe/txm676/actions/runs/25987212599",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/txm676/gambin",
  "_commit": {
    "id": "3d459f51ef20f892a492bf733c6c882b28c48a90",
    "author": "Tom Matthews <txm676@gmail.com>",
    "committer": "Tom Matthews <txm676@gmail.com>",
    "message": "new Circle CI access\n",
    "time": 1670858357
  },
  "_maintainer": {
    "name": "Thomas Matthews",
    "email": "txm676@gmail.com",
    "login": "txm676",
    "description": "Senior research fellow at the University of Birmingham interested in macroecology and biogeography",
    "uuid": 24476402
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.0.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "doParallel",
      "role": "Imports"
    },
    {
      "package": "gtools",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "txm676",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "txm676",
      "count": 75,
      "uuid": 24476402
    },
    {
      "user": "csgillespie",
      "count": 61,
      "uuid": 1267747
    },
    {
      "user": "mkborregaard",
      "count": 10,
      "uuid": 8429802
    },
    {
      "user": "gabrielareto",
      "count": 1,
      "uuid": 8447831
    }
  ],
  "_userbio": {
    "uuid": 24476402,
    "type": "user",
    "name": "Tom Matthews",
    "description": "Senior research fellow at the University of Birmingham interested in macroecology and biogeography"
  },
  "_downloads": {
    "count": 259,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gambin"
  },
  "_mentions": 2,
  "_devurl": "https://github.com/txm676/gambin",
  "_searchresults": 12,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gambin.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/txm676/gambin",
  "_realowner": "txm676",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2013-09-28"
    },
    {
      "version": "1.1",
      "date": "2014-05-17"
    },
    {
      "version": "1.3",
      "date": "2015-11-11"
    },
    {
      "version": "1.4",
      "date": "2016-06-23"
    },
    {
      "version": "2.1.1",
      "date": "2017-07-25"
    },
    {
      "version": "2.2.0",
      "date": "2017-12-05"
    },
    {
      "version": "2.3.0",
      "date": "2018-02-18"
    },
    {
      "version": "2.4.0",
      "date": "2018-07-12"
    },
    {
      "version": "2.4.1",
      "date": "2019-03-04"
    },
    {
      "version": "2.4.3",
      "date": "2020-02-03"
    },
    {
      "version": "2.4.4",
      "date": "2020-06-02"
    },
    {
      "version": "2.5.0",
      "date": "2021-04-16"
    }
  ],
  "_exports": [
    "AICc",
    "create_octaves",
    "deconstruct_modes",
    "dgambin",
    "fit_abundances",
    "fitGambin",
    "gambin_exp",
    "mult_abundances",
    "pgambin",
    "qgambin",
    "rgambin"
  ],
  "_datasets": [
    {
      "name": "categ",
      "title": "Simulated bird SAD dataset with species classification data",
      "object": "categ",
      "file": "categ.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "abundances",
        "species",
        "status"
      ],
      "rows": 1200,
      "table": true,
      "tojson": true
    },
    {
      "name": "fly",
      "title": "Brazilian Horse Fly Data",
      "object": "fly",
      "file": "fly.rda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "moths",
      "title": "Williams' Rothamsted moth data",
      "object": "moths",
      "file": "moths.rda",
      "class": [
        "integer"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "gambin-package",
      "title": "Fit the gambin model to species abundance distributions",
      "topics": [
        "gambin-package",
        "gambin"
      ]
    },
    {
      "page": "logLik.gambin",
      "title": "Likelihood statistics for the GamBin model",
      "topics": [
        "AIC.gambin",
        "AICc",
        "AICc.gambin",
        "BIC.gambin",
        "logLik.gambin"
      ]
    },
    {
      "page": "categ",
      "title": "Simulated bird SAD dataset with species classification data",
      "topics": [
        "categ"
      ]
    },
    {
      "page": "create_octaves",
      "title": "Reclassify a vector of species' abundances into abundance octaves",
      "topics": [
        "create_octaves"
      ]
    },
    {
      "page": "deconstruct_modes",
      "title": "Deconstruct a multimodal gambin model fit",
      "topics": [
        "deconstruct_modes"
      ]
    },
    {
      "page": "dgambin",
      "title": "The mixture gambin distribution",
      "topics": [
        "dgambin",
        "gambin_exp",
        "pgambin",
        "qgambin",
        "rgambin"
      ]
    },
    {
      "page": "fit_abundances",
      "title": "Fit a unimodal or multimodal gambin model to a species abundance distribution",
      "topics": [
        "fitGambin",
        "fit_abundances"
      ]
    },
    {
      "page": "fly",
      "title": "Brazilian Horse Fly Data",
      "topics": [
        "fly"
      ]
    },
    {
      "page": "moths",
      "title": "Williams' Rothamsted moth data",
      "topics": [
        "moths"
      ]
    },
    {
      "page": "mult_abundances",
      "title": "Fit a unimodal gambin model to multiple species abundance distributions",
      "topics": [
        "mult_abundances"
      ]
    },
    {
      "page": "summary.gambin",
      "title": "Summarising the results of a gambin model fit",
      "topics": [
        "summary.gambin"
      ]
    }
  ],
  "_readme": "https://github.com/txm676/gambin/raw/HEAD/README.md",
  "_rundeps": [
    "codetools",
    "doParallel",
    "foreach",
    "gtools",
    "iterators"
  ],
  "_vignettes": [
    {
      "source": "overview.Rmd",
      "filename": "overview.html",
      "title": "Gambin overview",
      "author": "Thomas J. Matthews and Colin Gillespie",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Example",
        "References"
      ],
      "created": "2017-01-16 16:26:22",
      "modified": "2020-06-02 09:57:59",
      "commits": 9
    }
  ],
  "_score": 5.03342375548695,
  "_indexed": true,
  "_nocasepkg": "gambin",
  "_universes": [
    "txm676"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.5.0",
      "date": "2026-05-17T09:37:53.000Z",
      "distro": "noble",
      "commit": "3d459f51ef20f892a492bf733c6c882b28c48a90",
      "fileid": "1d7607c62cb40f49d1f45739ce9f2d65a00b49e78f0960a3a9a8a15f6674d07d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/txm676/actions/runs/25987212599"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.5.0",
      "date": "2026-05-17T09:38:08.000Z",
      "distro": "noble",
      "commit": "3d459f51ef20f892a492bf733c6c882b28c48a90",
      "fileid": "8d7cdeecfb2c5cafc5934bf7d6d840f8a2290556e16af03e584ad1007de78b21",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/txm676/actions/runs/25987212599"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.5.0",
      "date": "2026-05-17T09:39:18.000Z",
      "commit": "3d459f51ef20f892a492bf733c6c882b28c48a90",
      "fileid": "84497426ecf5a01022b821ab6a7c5c11884e28576aaccbec2866dcac35bfdb3f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/txm676/actions/runs/25987212599"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.5.0",
      "date": "2026-05-17T09:38:08.000Z",
      "commit": "3d459f51ef20f892a492bf733c6c882b28c48a90",
      "fileid": "53608d88f71f4b96423d040ac51580deebf989d33885d086a6f3d23d7f9ef315",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/txm676/actions/runs/25987212599"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.5.0",
      "date": "2026-05-17T09:37:29.000Z",
      "commit": "3d459f51ef20f892a492bf733c6c882b28c48a90",
      "fileid": "2238a05daf0d6f1d4f080ec3e9dc12a73b5cb6dc62e4187cba2b6cbd5775a0ab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/txm676/actions/runs/25987212599"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.5.0",
      "date": "2026-05-17T09:37:51.000Z",
      "commit": "3d459f51ef20f892a492bf733c6c882b28c48a90",
      "fileid": "885c7ab954bf299a17487808e7562fee28f502e95aa4a083107cc06d702c6e87",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/txm676/actions/runs/25987212599"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.5.0",
      "date": "2026-05-17T09:38:01.000Z",
      "commit": "3d459f51ef20f892a492bf733c6c882b28c48a90",
      "fileid": "f7f8dafabfb7dde34527dc6bbf3d18a9be84606a4a840d804e8df8f22003d536",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/txm676/actions/runs/25987212599"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.5.0",
      "date": "2026-06-02T16:59:52.000Z",
      "commit": "3d459f51ef20f892a492bf733c6c882b28c48a90",
      "fileid": "c76f9e8c4d1969910494d651f74fcc756519725c9e779159cda2183f4bda4615",
      "status": "success",
      "buildurl": "https://github.com/r-universe/txm676/actions/runs/25987212599"
    }
  ]
}