| scale_weight | R Documentation |
Divide weights by their sum
scale_weight(weight = NULL)
weight |
numeric vector of relative abundance or biomass |
abun <- rpois(n = 10, lambda = 3)
scaled <- scale_weight(abun)
c(base = sum(abun), scaled = scaled)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.