Learn R Programming

phenofit (version 0.3.9)

cv_coef: weighted CV

Description

weighted CV

Usage

cv_coef(x, w)

Value

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

Arguments

x

Numeric vector

w

weights of different point

Examples

Run this code
library(phenofit)
x = rnorm(100)
coefs <- cv_coef(x)

Run the code above in your browser using DataLab