{
  "_id": "6a53399c9b92047c28d56cfc",
  "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-07-12 06:47:37 UTC",
    "User": "root"
  },
  "Author": "Benjamin L. Hlina [aut, cre]",
  "Maintainer": "Benjamin L. Hlina <benjamin.hlina@gmail.com>",
  "_user": "benjaminhlina",
  "_type": "src",
  "_file": "nichetools_0.3.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/c2b0a6e070253433a7b23ad18b5d7bb631c669c2961880c3b14b392a5fafdccc",
  "_filesize": 3114782,
  "_sha256": "c2b0a6e070253433a7b23ad18b5d7bb631c669c2961880c3b14b392a5fafdccc",
  "_expires": "2026-10-20T06:52:10.000Z",
  "_created": "2026-07-12T06:47:37.000Z",
  "_published": "2026-07-12T06:52:11.994Z",
  "_jobs": [
    {
      "job": 86624523091,
      "time": 219,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8257133051"
    },
    {
      "job": 86624523085,
      "time": 230,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8257134629"
    },
    {
      "job": 86624523077,
      "time": 119,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8257118737"
    },
    {
      "job": 86624523079,
      "time": 136,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8257120899"
    },
    {
      "job": 86624228108,
      "time": 266,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8257102029"
    },
    {
      "job": 86624523078,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8257119835"
    },
    {
      "job": 86624523113,
      "time": 190,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8257128887"
    },
    {
      "job": 86624523084,
      "time": 174,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8257126535"
    },
    {
      "job": 86624523118,
      "time": 164,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8257125116"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/29183075833",
  "_status": "success",
  "_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",
    "description": "Postdoctoral Researcher @ GLIER - University of Windsor - Studying food webs and spatial ecology of fishes in Lakes Ontario and Huron.",
    "uuid": 29612410
  },
  "_distro": "resolute",
  "_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": "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",
    "followers": 24,
    "description": "Postdoctoral Researcher @ GLIER - University of Windsor - Studying food webs and spatial ecology of fishes in Lakes Ontario and Huron."
  },
  "_downloads": {
    "count": 452,
    "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.1",
  "_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.2604.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": "16-20260322-1ubuntu1",
      "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.15836249209525,
  "_indexed": true,
  "_nocasepkg": "nichetools",
  "_universes": [
    "benjaminhlina"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-07-12T06:50:09.000Z",
      "distro": "resolute",
      "commit": "ad51e49f646dc9ddce88856ee10d42af2a83b25d",
      "fileid": "https://r2.ropensci.org/283a02c5b86ed828bdf19daa5047a795915d7b0544ca5333df8f97db9692c341",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/29183075833"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-07-12T06:50:19.000Z",
      "distro": "resolute",
      "commit": "ad51e49f646dc9ddce88856ee10d42af2a83b25d",
      "fileid": "https://r2.ropensci.org/da9834ba8a8bcfa4a705022557c0e119fb6c265d56925b7a2f83ac6cb25972bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/29183075833"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-07-12T06:49:08.000Z",
      "commit": "ad51e49f646dc9ddce88856ee10d42af2a83b25d",
      "fileid": "https://r2.ropensci.org/92dbcd027f6f1b48df2adae54a328958a432ecd96d89266b6b8fbbc9b92aa991",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/29183075833"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-07-12T06:49:16.000Z",
      "commit": "ad51e49f646dc9ddce88856ee10d42af2a83b25d",
      "fileid": "https://r2.ropensci.org/5728c0a3951393569fb56a3de14bf81cce6d72f17c623f52c79635e19c8bb8de",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/29183075833"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.3",
      "date": "2026-07-12T06:50:05.000Z",
      "commit": "ad51e49f646dc9ddce88856ee10d42af2a83b25d",
      "fileid": "https://r2.ropensci.org/168579d0256cf5fb910d33c66d390f690be73639580d3082775a4ba237b67e60",
      "status": "success",
      "buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/29183075833"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-07-12T06:49:15.000Z",
      "commit": "ad51e49f646dc9ddce88856ee10d42af2a83b25d",
      "fileid": "https://r2.ropensci.org/82d6c39bfdda907ba4203c23c0884e7a7b258924da53e64c4f91d489782fbcce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/29183075833"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-07-12T06:48:56.000Z",
      "commit": "ad51e49f646dc9ddce88856ee10d42af2a83b25d",
      "fileid": "https://r2.ropensci.org/1ac7a64a67a7bb07dda001a44ccfb0d596bcd8c5b7afad9d018cdcf571af9c61",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/29183075833"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-07-12T06:49:30.000Z",
      "commit": "ad51e49f646dc9ddce88856ee10d42af2a83b25d",
      "fileid": "https://r2.ropensci.org/9031a30f497482077ae3e956bcd3e904fd76801b0d0dfc590f568eeeac0b2c65",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/benjaminhlina/actions/runs/29183075833"
    }
  ]
}