{
  "_id": "6a102787acfb0bcc41c9029f",
  "Package": "nichetools",
  "Type": "Package",
  "Title": "Complementary Package to 'nicheROVER' and 'SIBER'",
  "Version": "0.3.3",
  "Authors@R": "c(person(given = \"Benjamin L.\",\nfamily = \"Hlina\",\nrole = c(\"aut\", \"cre\"),\nemail = \"benjamin.hlina@gmail.com\")\n)",
  "Description": "Provides functions complementary to packages 'nicheROVER'\nand 'SIBER' allowing the user to extract Bayesian estimates\nfrom data objects created by the packages 'nicheROVER' and\n'SIBER'. Please see the following publications for detailed\nmethods on 'nicheROVER' and 'SIBER' Hansen et al. (2015)\n<doi:10.1890/14-0235.1>, Jackson et al. (2011) <do\ni:10.1111/j.1365-2656.2011.01806.x>, and Layman et al. (2007)\n<doi:10.1890/0012-9658(2007)88[42:CSIRPF]2.0.CO;2>,\nrespectfully.",
  "License": "CC0",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "URL": "https://benjaminhlina.github.io/nichetools/,\nhttps://github.com/benjaminhlina/nichetools",
  "BugReports": "https://github.com/benjaminhlina/nichetools/issues",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "jags libicu-dev",
  "Repository": "https://benjaminhlina.r-universe.dev",
  "Date/Publication": "2026-01-13 18:09:20 UTC",
  "RemoteUrl": "https://github.com/benjaminhlina/nichetools",
  "RemoteRef": "HEAD",
  "RemoteSha": "ad51e49f646dc9ddce88856ee10d42af2a83b25d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-13 08:35:00 UTC",
    "User": "root"
  },
  "Author": "Benjamin L. Hlina [aut, cre]",
  "Maintainer": "Benjamin L. Hlina <benjamin.hlina@gmail.com>",
  "MD5sum": "4948f4b90e990930738e67f84ddf596b",
  "_user": "benjaminhlina",
  "_type": "src",
  "_file": "nichetools_0.3.3.tar.gz",
  "_fileid": "f94e47eb5179bc359fcd292ea4b0c87a4f5bdb235de1273081ded8e28a504be0",
  "_filesize": 3072432,
  "_sha256": "f94e47eb5179bc359fcd292ea4b0c87a4f5bdb235de1273081ded8e28a504be0",
  "_created": "2026-05-13T08:35:00.000Z",
  "_published": "2026-05-22T09:53:11.408Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77356411405,
      "time": 227,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6965375878"
    },
    {
      "job": 77356411761,
      "time": 235,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965379317"
    },
    {
      "job": 77356411481,
      "time": 166,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6965355022"
    },
    {
      "job": 77356411776,
      "time": 168,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965355895"
    },
    {
      "job": 77356410692,
      "time": 268,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965299754"
    },
    {
      "job": 77356410899,
      "time": 135,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7157713186"
    },
    {
      "job": 77356411436,
      "time": 168,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6965355822"
    },
    {
      "job": 77356411836,
      "time": 191,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6965363370"
    },
    {
      "job": 77356411780,
      "time": 199,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6965366128"
    }
  ],
  "_buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/25787708487",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/benjaminhlina/nichetools",
  "_commit": {
    "id": "ad51e49f646dc9ddce88856ee10d42af2a83b25d",
    "author": "benjaminhlina <benjamin.hlina@gmail.com>",
    "committer": "benjaminhlina <benjamin.hlina@gmail.com>",
    "message": "CRAN sumbssion\n",
    "time": 1768327760
  },
  "_maintainer": {
    "name": "Benjamin L. Hlina",
    "email": "benjamin.hlina@gmail.com",
    "login": "benjaminhlina",
    "uuid": 29612410
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ellipse",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "nicheROVER",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "SIBER",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "bayestestR",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "ggdist",
      "role": "Suggests"
    },
    {
      "package": "ggtext",
      "role": "Suggests"
    },
    {
      "package": "ggh4x",
      "role": "Suggests"
    },
    {
      "package": "janitor",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "rjags",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "viridis",
      "role": "Suggests"
    }
  ],
  "_owner": "benjaminhlina",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-24",
      "n": 3
    },
    {
      "week": "2026-03",
      "n": 7
    }
  ],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "benjaminhlina",
      "count": 730,
      "uuid": 29612410
    },
    {
      "user": "davisvaughan",
      "count": 1,
      "uuid": 19150088
    },
    {
      "user": "josiahparry",
      "count": 1,
      "uuid": 13534508
    },
    {
      "user": "mhpob",
      "count": 1,
      "uuid": 8228205
    },
    {
      "user": "olivroy",
      "count": 1,
      "uuid": 52606734
    }
  ],
  "_userbio": {
    "uuid": 29612410,
    "type": "user",
    "name": "Benjamin Hlina",
    "description": "Postdoctoral Researcher @ GLIER - University of Windsor - Studying food webs and spatial ecology of fishes in Lakes Ontario and Huron."
  },
  "_downloads": {
    "count": 520,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nichetools"
  },
  "_devurl": "https://github.com/benjaminhlina/nichetools",
  "_pkgdown": "https://benjaminhlina.github.io/nichetools/",
  "_searchresults": 16,
  "_topics": [
    "jags",
    "cpp"
  ],
  "_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/nichetools.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/benjaminhlina/nichetools",
  "_realowner": "benjaminhlina",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2024-06-07"
    },
    {
      "version": "0.3.0",
      "date": "2024-08-26"
    },
    {
      "version": "0.3.1",
      "date": "2024-09-06"
    },
    {
      "version": "0.3.2",
      "date": "2024-09-30"
    },
    {
      "version": "0.3.3",
      "date": "2026-01-13"
    }
  ],
  "_exports": [
    "create_comparisons",
    "extract_group_metrics",
    "extract_layman",
    "extract_mu",
    "extract_niche_size",
    "extract_overlap",
    "extract_sigma",
    "extract_similarities",
    "niche_ellipse"
  ],
  "_datasets": [
    {
      "name": "mu_est_long",
      "title": "A 'data.frame' containing posterior estimates of mu",
      "object": "mu_est_long",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "metric",
        "sample_name",
        "sample_number",
        "isotope",
        "mu_est",
        "element",
        "neutron"
      ],
      "rows": 8000,
      "table": true,
      "tojson": true
    },
    {
      "name": "niw_fish_post",
      "title": "A 'list' of the posterior estimates of mu and Sigma from '{nicheROVER}'",
      "object": "niw_fish_post",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "over_stat",
      "title": "A 'data.frame' containing the estimates of percentage of overlap among groups",
      "object": "over_stat",
      "class": [
        "array"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "post_sam_siber",
      "title": "A 'list' of the posterior estimates of mu and Sigma from '{SIBER}'",
      "object": "post_sam_siber",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "sigma_est_wide",
      "title": "A 'data.frame' containing posterior estimates of Sigma",
      "object": "sigma_est_wide",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "metric",
        "sample_name",
        "isotope",
        "sample_number",
        "d13c",
        "d15n"
      ],
      "rows": 8000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "create_comparisons",
      "title": "create comparisons",
      "topics": [
        "create_comparisons"
      ]
    },
    {
      "page": "extract_group_metrics",
      "title": "extract maximum-likelihood estimates for group metrics",
      "topics": [
        "extract_group_metrics"
      ]
    },
    {
      "page": "extract_layman",
      "title": "extract Layman metrics",
      "topics": [
        "extract_layman"
      ]
    },
    {
      "page": "extract_mu",
      "title": "extract mu",
      "topics": [
        "extract_mu"
      ]
    },
    {
      "page": "extract_niche_size",
      "title": "extract niche size",
      "topics": [
        "extract_niche_size"
      ]
    },
    {
      "page": "extract_overlap",
      "title": "extract overlap",
      "topics": [
        "extract_overlap"
      ]
    },
    {
      "page": "extract_sigma",
      "title": "extract Sigma",
      "topics": [
        "extract_sigma"
      ]
    },
    {
      "page": "extract_similarities",
      "title": "extract similarities",
      "topics": [
        "extract_similarities"
      ]
    },
    {
      "page": "mu_est_long",
      "title": "A 'data.frame' containing posterior estimates of mu",
      "topics": [
        "mu_est_long"
      ]
    },
    {
      "page": "niche_ellipse",
      "title": "Create ellipses based on Bayesian estimates of mu and Sigma",
      "topics": [
        "niche_ellipse"
      ]
    },
    {
      "page": "niw_fish_post",
      "title": "A 'list' of the posterior estimates of mu and Sigma from '{nicheROVER}'",
      "topics": [
        "niw_fish_post"
      ]
    },
    {
      "page": "over_stat",
      "title": "A 'data.frame' containing the estimates of percentage of overlap among groups",
      "topics": [
        "over_stat"
      ]
    },
    {
      "page": "post_sam_siber",
      "title": "A 'list' of the posterior estimates of mu and Sigma from '{SIBER}'",
      "topics": [
        "post_sam_siber"
      ]
    },
    {
      "page": "sigma_est_wide",
      "title": "A 'data.frame' containing posterior estimates of Sigma",
      "topics": [
        "sigma_est_wide"
      ]
    }
  ],
  "_readme": "https://github.com/benjaminhlina/nichetools/raw/HEAD/README.md",
  "_rundeps": [
    "ash",
    "cli",
    "coda",
    "cpp11",
    "dplyr",
    "ellipse",
    "farver",
    "FNN",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "hdrcde",
    "isoband",
    "kernlab",
    "KernSmooth",
    "ks",
    "labeling",
    "lattice",
    "lifecycle",
    "locfit",
    "magrittr",
    "Matrix",
    "mclust",
    "mgcv",
    "mnormt",
    "multicool",
    "mvtnorm",
    "nicheROVER",
    "nlme",
    "pillar",
    "pkgconfig",
    "pracma",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rjags",
    "rlang",
    "S7",
    "scales",
    "SIBER",
    "spatstat.utils",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libjags",
      "package": "jags",
      "headers": "jags",
      "source": "jags",
      "version": "4.3.2-2.2404.0",
      "name": "jags",
      "homepage": "https://mcmc-jags.sourceforge.io",
      "description": "Just Another Gibbs Sampler for Bayesian MCMC - binary\nJAGS is Just Another Gibbs Sampler.  It is a program for analysis of\nBayesian hierarchical models using Markov Chain Monte Carlo (MCMC)\nsimulation not wholly unlike BUGS.\n\nJAGS was written with three aims in mind:\n* To have an engine for the BUGS language that runs on Unix\n* To be extensible, allowing users to write their own functions,\ndistributions and samplers.\n* To be a plaftorm for experimentation with ideas in Bayesian modelling\n\nThis package contains the 'jags' binary as well as the associated\nshared library modules loaded by the binary."
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "using-nichetools-with-the-package-nicheROVER.Rmd",
      "filename": "using-nichetools-with-the-package-nicheROVER.html",
      "title": "Using {nichetools} with nicheROVER",
      "author": "Benjamin L. Hlina",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Our Objectives",
        "Bring in trophic niche data",
        "Estimate posterior distribution with Normal-Inverse-Wishart (NIW) priors.",
        "Extract μ values",
        "Extract Σ values",
        "Plot posterior distrubtion of μ and Σ",
        "Estimate niche ellipse",
        "Plot ellipses, densities of each istope, and isotope biplot",
        "Use {patchwork} to make ellipse, density, and biplots into a paneled figure.",
        "Determine the 95% niche similarties for each species",
        "Estimate overall niche size",
        "Plot niche size"
      ],
      "created": "2024-05-31 03:08:59",
      "modified": "2024-09-30 16:29:07",
      "commits": 10
    },
    {
      "source": "using-nichetools-with-the-package-SIBER.Rmd",
      "filename": "using-nichetools-with-the-package-SIBER.html",
      "title": "Using {nichetools} with SIBER",
      "author": "Benjamin L. Hlina",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Our Objectives",
        "Bring in trophic data",
        "Convert to {SIBER} object",
        "Bayesian Ellipse Analysis",
        "Extract posterior distributions for μ and Σ",
        "Extract Niche Size",
        "Niche Similarties",
        "Bayesian Estimates of Layman's Community Metrics"
      ],
      "created": "2024-07-17 14:14:29",
      "modified": "2024-09-30 16:28:50",
      "commits": 64
    }
  ],
  "_score": 5.40823996531185,
  "_indexed": true,
  "_nocasepkg": "nichetools",
  "_universes": [
    "benjaminhlina"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-05-13T08:37:39.000Z",
      "distro": "noble",
      "commit": "ad51e49f646dc9ddce88856ee10d42af2a83b25d",
      "fileid": "43267241f595de0c22c00bfa3f1aac6dbd77e4bd8a3c87971b9968940a7f757e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/25787708487"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-05-13T08:37:46.000Z",
      "distro": "noble",
      "commit": "ad51e49f646dc9ddce88856ee10d42af2a83b25d",
      "fileid": "14988ed16fae5998b669cde3ac89694e42744bbf34fbfc3fd2b49d77a07b4ed4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/25787708487"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-05-13T08:36:56.000Z",
      "commit": "ad51e49f646dc9ddce88856ee10d42af2a83b25d",
      "fileid": "9f1d877f9a0a2b22566f2b5bd33571b4ac19595acec0b8e056322b258d90714c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/25787708487"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-05-13T08:36:57.000Z",
      "commit": "ad51e49f646dc9ddce88856ee10d42af2a83b25d",
      "fileid": "d9b6d8eff744beb24aacb169d3a409cb4421984699aab96ec58c653e494a8a58",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/25787708487"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-05-13T08:36:24.000Z",
      "commit": "ad51e49f646dc9ddce88856ee10d42af2a83b25d",
      "fileid": "39f873cf05f815c5e087fe391de92f1979a45ac5decde07fffb257ed5166fc0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/25787708487"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-05-13T08:36:53.000Z",
      "commit": "ad51e49f646dc9ddce88856ee10d42af2a83b25d",
      "fileid": "e1578909cb6c06a390495e264e097ead1ac99cb1da89e391f165cefdd3408e71",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/25787708487"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-05-13T08:36:32.000Z",
      "commit": "ad51e49f646dc9ddce88856ee10d42af2a83b25d",
      "fileid": "47b5a035ea14ebf8f3ab083be4fcd5ba32c918c61940ca72e398189b86ca06fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/25787708487"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.3",
      "date": "2026-05-22T09:52:49.000Z",
      "commit": "ad51e49f646dc9ddce88856ee10d42af2a83b25d",
      "fileid": "4766b19bc7c44f030749375c0d42120eb43de90db2ba0d12b225491f607844c9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/25787708487"
    }
  ]
}