Learn R Programming

⚠️There's a newer version (1.1.2) of this package.Take me there.

nicheROVER (version 1.0)

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

Description

This package uses a probabilistic method to calculate niche regions and pairwise niche overlap 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. A forthcoming article by Swanson et al. (Ecology, 2014) 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

345

Version

1.0

License

GPL-2

Maintainer

Martin Lysy

Last Published

July 25th, 2014

Functions in nicheROVER (1.0)

niw.post

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

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

Random draws from the posterior distribution with Normal-Independent-Inverse-Wishart (NIIW) prior.
niw.mom

Mean and variance of the Normal-Inverse-Wishart distribution.
ellipse

Point coordinates for a 2-D ellipse.
fish

Fish stable isotope dataset.
nicheROVER

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

Plot for niche parameters
overlap

Monte Carlo calculation of niche region overlap metrics
rwish

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

Plot for 2-d projection of niche regions
rniw

Random draws from a Normal-Inverse-Wishart distribution.
overlap.plot

Plot the overlap metric