View source: R/disparity_index.R
disparity_index | R Documentation |
This function calculates the continuous disparity index as described in Fernández-Martínez et al. (2018).
disparity_index(lightVar, na_rm = TRUE, as_df = TRUE)
lightVar |
Numeric vector containing the light data. |
na_rm |
Logical. Should missing values be removed? Defaults to TRUE. |
as_df |
Logical. Should the output be returned as a data frame? Defaults to TRUE. |
Data frame or numeric vector.
Fernández-Martínez, M., Vicca, S., Janssens, I. A., Carnicer, J., Martín-Vide, J., & Peñuelas, J. (2018). The consecutive disparity index, D: A measure of temporal variability in ecological studies. Ecosphere, 9(12), e02527. https://doi.org/10.1002/ecs2.2527
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.