R/AllGenerics.R, R/zvariant-methods.R
sppweights-methods.RdGet biodiversity feature weights of a Zonation variant
Set biodiversity feature weights of a Zonation variant
sppweights(x) sppweights(x) <- value # S4 method for Zvariant sppweights(x) # S4 method for Zvariant,numeric sppweights(x) <- value
| x | Zvariatn object. |
|---|---|
| value | numeric vector with the length equal to the number of features in the variant |
A numeric vector of weights
The weight vector must be exactly the correct length, no recycling is done. Vector elements must be coercible to numeric.