spat.trait.vec {divraster} | R Documentation |
Average trait calculation for vector
spat.trait.vec(x, col_trait, ...)
x |
A numeric vector with presence-absence data (0 or 1) for a set of species. |
col_trait |
A numeric vector with trait numbers. |
... |
Additional arguments to be passed passed down from a calling function. |
Vector of average trait.