gcv {pmxTools} | R Documentation |
Calculate a geometric coefficient of variation.
Description
Calculate a geometric coefficient of variation.
Usage
gcv(x, na.rm = F, neg.rm = F)
Arguments
x |
A vector. |
na.rm |
Flag for removing |
neg.rm |
Flag for removing negative or zero values (defaults to |
Value
The geometric coefficient of variation of the input vector. If neg.rm
is FALSE
and values <= 0 are present, NA
will be returned.
Author(s)
Justin Wilkins, justin.wilkins@occams.com
Examples
## Not run:
gcv(myvector)
## End(Not run)
[Package pmxTools version 1.3 Index]