{
  "_id": "6a2bba69578398594319a806",
  "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",
  "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",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-12 07:45:51 UTC",
    "User": "root"
  },
  "Author": "Benjamin L. Hlina [aut, cre]",
  "Maintainer": "Benjamin L. Hlina <benjamin.hlina@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-01-13 18:20:13 UTC",
  "RemoteUrl": "https://github.com/cran/nichetools",
  "RemoteRef": "HEAD",
  "RemoteSha": "df62fdcd596fba3f9fb9e48a6e7101f0c4278b85",
  "MD5sum": "9aa2f6566823f9beb0d075812f051218",
  "_user": "cran",
  "_type": "src",
  "_file": "nichetools_0.3.3.tar.gz",
  "_fileid": "5cfe66b94d315d3fa5435977d666f729bc1c23799626581e195b95720321df64",
  "_filesize": 3418681,
  "_sha256": "5cfe66b94d315d3fa5435977d666f729bc1c23799626581e195b95720321df64",
  "_created": "2026-06-12T07:45:51.000Z",
  "_published": "2026-06-12T07:51:05.843Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80982697483,
      "time": 273,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7586003308"
    },
    {
      "job": 80982697461,
      "time": 220,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7585986039"
    },
    {
      "job": 80982155761,
      "time": 213,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7585916734"
    },
    {
      "job": 80982697509,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7585956709"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27402029564",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/nichetools",
  "_commit": {
    "id": "df62fdcd596fba3f9fb9e48a6e7101f0c4278b85",
    "author": "Benjamin L. Hlina <benjamin.hlina@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.3.3\n",
    "time": 1768328413
  },
  "_maintainer": {
    "name": "Benjamin L. Hlina",
    "email": "benjamin.hlina@gmail.com",
    "login": "benjaminhlina",
    "description": "Postdoctoral Researcher @ GLIER - University of Windsor - Studying food webs and spatial ecology of fishes in Lakes Ontario and Huron.",
    "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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-03",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.3.3",
      "date": "2026-01-13"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "benjaminhlina",
      "count": 5,
      "uuid": 29612410
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 523,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nichetools"
  },
  "_devurl": "https://github.com/benjaminhlina/nichetools",
  "_pkgdown": "https://benjaminhlina.github.io/nichetools/",
  "_searchresults": 18,
  "_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": false,
  "_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/cran/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"
    },
    {
      "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-06-08 02:41:53",
      "modified": "2024-10-01 03:09:16",
      "commits": 3
    },
    {
      "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-08-27 02:50:27",
      "modified": "2024-10-01 03:09:16",
      "commits": 3
    }
  ],
  "_score": 3.255272505103306,
  "_indexed": false,
  "_nocasepkg": "nichetools",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://benjaminhlina.r-universe.dev/nichetools",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-06-12T07:49:06.000Z",
      "distro": "noble",
      "commit": "df62fdcd596fba3f9fb9e48a6e7101f0c4278b85",
      "fileid": "5c3479197bf5112595115344c417839fb45e950065dae6c112f5d3cbfbe17087",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27402029564"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-06-12T07:48:13.000Z",
      "distro": "noble",
      "commit": "df62fdcd596fba3f9fb9e48a6e7101f0c4278b85",
      "fileid": "5608a739d7020be18938e9bd9b7027fb19ea00b3c0a7d35b31e4a3635c856b8a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27402029564"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.3",
      "date": "2026-06-12T07:48:14.000Z",
      "commit": "df62fdcd596fba3f9fb9e48a6e7101f0c4278b85",
      "fileid": "ecf40db70fcb91348d291566412ed4352a36fa2488bb3c70e0a3c61163994e5c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27402029564"
    }
  ]
}