Description Usage Arguments Details Value
coeff_var
is a S3 generic that calculates the coefficient of
variation, defined as
CV(x) = \frac{sd(x)}{mean(x)}
1 2 3 4 |
x |
Numeric vector, matrix, or array |
na.rm |
Logical indicating whether |
... |
Unused |
If x
is a matrix, it will calculate the CV for each column. If
x
is a 3D array, it will calculate the coefficient of variation for
each row-column combination. If the input dimensions are n \times
n \times r, a matrix with size n \times n will be returned.
A numeric vector or matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.