Learn R Programming

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

funrar package

funrar is a package to compute functional rarity indices, it quantifies how species are rare both from a functional and an extent point of view. Following the different facets of rarity proposed by Rabinowitz (1981). See this reference for more details on Functional Rarity indices:

Violle C., Thuiller W., Mouquet N., Munoz F., Kraft NJB, Cadotte MW, Livingstone SW, Mouillot D., Functional Rarity: The Ecology of Outliers, Trends in Ecology & Evolution, Volume 32, Issue 5, May 2017, Pages 356-367, ISSN 0169-5347, https://doi.org/10.1016/j.tree.2017.02.002.

Citation

NEWS: the funrar paper just got published

Please cite the following reference when using funrar in a paper:

Grenié M, Denelle P, Tucker CM, Munoz F, Violle C. funrar: An R package to characterize functional rarity. Divers Distrib. 2017;00:1–7. https://doi.org/10.1111/ddi.12629

or refer to the CITATION file, using:

citation(package = "funrar")

Installation

The package is on CRAN, you can install it using:

install.packages("funrar")

If you want to have the latest development version use remotes:

# install.packages("remotes") # If 'remotes' is not installed yet
remotes::install_github("Rekyt/funrar", build_vignettes = TRUE)

Dependencies

Apart from base packages dependencies, funrar depends on dplyr and cluster.

Example vignettes

In addition to code example included in help of functions, two vignettes explain how to use the package. The functional rarity indices vignette explains in details the different indices and function provided; while the sparse matrices vignette shows how to use sparse matrices to gain speed in memory when computing functional rarity indices.

Access the vignette through R using the vignette() function.

References

Rabinowitz D., Seven forms of rarity In The Biological Aspects of Rare Plant Conservation (1981), pp. 205-217

Copy Link

Version

Install

install.packages('funrar')

Monthly Downloads

296

Version

1.4.1

License

GPL (>= 2)

Maintainer

Matthias Greni

Last Published

April 20th, 2020

Functions in funrar (1.4.1)

compute_dist_matrix

Functional Distance Matrix
distinctiveness_dimensions

Distinctiveness dimensions
funrar

Functional Rarity Indices
distinctiveness_global

Global/Regional Functional Distinctiveness from dissimilarity matrix
distinctiveness

Functional Distinctiveness on site-species matrix
distinctiveness_com

Functional Distinctiveness for a single community
combination_trait_dist

Multiple distance matrices
distinctiveness_stack

Functional Distinctiveness on a stacked data.frame
distinctiveness_alt

Other Functional Distinctiveness within range
distinctiveness_range

Functional Distinctiveness within range
restrictedness_stack

Geographical Restrictedness for stacked data.frame
restrictedness

Geographical Restrictedness on site-species matrix
matrix_to_stack

Matrix to stacked (= tidy) data.frame
make_relative

Relative abundance matrix from absolute abundance matrix
scarcity_com

Scarcity for a single community
scarcity

Scarcity on site-species matrix
funrar_stack

Functional Rarity indices on stacked data.frame
is_relative

Tell if matrix or data.frame has relative abundances
uniqueness_dimensions

Uniqueness dimensions
uniqueness

Functional Uniqueness for site-species matrix matrix
scarcity_stack

Scarcity
uniqueness_stack

Functional Uniqueness on stacked data.frame
stack_to_matrix

Stacked (= tidy) data.frame to matrix