Learn R Programming

nicheROVER (version 1.1.2)

Niche Region and Niche Overlap Metrics for Multidimensional Ecological Niches

Description

Implementation of a probabilistic method to calculate 'nicheROVER' (_niche_ _r_egion and niche _over_lap) metrics using multidimensional niche indicator data (e.g., stable isotopes, environmental variables, etc.). The niche region is defined as the joint probability density function of the multidimensional niche indicators at a user-defined probability alpha (e.g., 95%). Uncertainty is accounted for in a Bayesian framework, and the method can be extended to three or more indicator dimensions. It provides directional estimates of niche overlap, accounts for species-specific distributions in multivariate niche space, and produces unique and consistent bivariate projections of the multivariate niche region. The article by Swanson et al. (2015) provides a detailed description of the methodology. See the package vignette for a worked example using fish stable isotope data.

Copy Link

Version

Install

install.packages('nicheROVER')

Monthly Downloads

277

Version

1.1.2

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Martin Lysy

Last Published

October 13th, 2023

Functions in nicheROVER (1.1.2)

nicheROVER-package

(Niche) (R)egion and Niche (Over)lap Metrics for Multidimensional Ecological Niches.
niche.size

Calculate the size of an elliptical niche region.
niche.runif

Uniform sampling from an elliptical niche region.
niche.plot

Plot for 2-d projection of niche regions.
niw.mom

Mean and variance of the Normal-Inverse-Wishart distribution.
niiw.post

Random draws from the posterior distribution with Normal-Independent-Inverse-Wishart (NIIW) prior.
niche.par.plot

Plot for niche parameters.
niw.coeffs

Posterior coefficients of the Normal-Inverse-Wishart distribution with its conjugate prior.
ellipse

Point coordinates for a 2-D ellipse.
fish

Fish stable isotope dataset.
overlap.plot

Plot the overlap metric.
rwish

Random draws from a Wishart (or Inverse-Wishart) distribution.
rniw

Random draws from a Normal-Inverse-Wishart distribution.
niw.post

Random draws from the posterior distribution with Normal-Inverse-Wishart (NIW) prior.
overlap.unif

Overlap calculation for uniform niche regions.
overlap

Monte Carlo calculation of niche region overlap metrics.