Description Usage Arguments Value Examples
Compute the coefficient of variation (expressed as a percentage). If there is only a single value, sd
is NA
and cv
returns NA
if aszero=FALSE
(the default). However, if (aszero=TRUE
), cv
returns 0
.
1 2 3 4 5 |
x |
A vector of numbers (typically integers for modal), or a Raster* object |
... |
additional (vectors of) numbers, or Raster objects |
aszero |
logical. If |
na.rm |
Remove (ignore) NA values |
vector or RasterLayer
1 2 |
Loading required package: sp
[1] 56.23757
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.