Learn R Programming

pmxcv (version 0.0.2)

numcv: Numeric CV% of a sample

Description

Numeric CV% of a sample

Usage

numcv(x, ...)

Value

Percent cv

Arguments

x

numeric vector

...

other arguments for sd() and mean()

Examples

Run this code
test_x <- rnorm(1000, mean=50, sd=5)
cv <- numcv(test_x)
cv # expect ~ 10(%)

Run the code above in your browser using DataLab