COV: A simple utility function to compute the coefficient of...

View source: R/rythm.R

COVR Documentation

A simple utility function to compute the coefficient of variance for values in a vector

Description

A simple utility function to compute the coefficient of variance for values in a vector

Usage

COV(x, na.rm = TRUE)

Arguments

x

The vector to process.

na.rm

boolean; Should NAs be removed for the computations. Otherwise, an NA will be returned for a vector containing one or more NAs.

Value

The standard deviation / mean of a vector

Author(s)

Fredrik Karlsson


FredrikKarlssonSpeech/articulated documentation built on July 20, 2023, 8:20 a.m.