cv_coef: weighted CV

View source: R/coefficients.R

cv_coefR Documentation

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

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

phenofit documentation built on Feb. 16, 2023, 6:21 p.m.