Calculate Neighbor Abundance Statistics
neighborAbundance_stats.Rd
This function calculates various neighbor abundance statistics based on input data.
Uso
neighborAbundance_stats(data, units = c("m2", "dm2", "cm2"), focal_sp)
Argumentos
- data
A data frame containing relevant columns, including "individuo" (individual ID), "diam_muestreo_vecindad_cm" (neighborhood sampling diameter in centimeters), "especie_vecina" (neighboring species), and "n_vecino" (number of neighbors).
- units
A character vector specifying the units for area calculation. Options are "m2" (square meters), "dm2" (square decimeters), and "cm2" (square centimeters).
- focal_sp
A character string specifying the focal species.