Learn R Programming

phenofit (version 0.2.7)

cv_coef: weighted CV

Description

weighted CV

Usage

cv_coef(x, w)

Arguments

x

Numeric vector

w

weights of different point

Value

Named numeric vector, (mean, sd, cv).

Examples

Run this code
# NOT RUN {
library(phenofit)
x = rnorm(100)
coefs <- cv_coef(x)
# }

Run the code above in your browser using DataLab