cv: Coefficient of Variation of FLR objects with multiple...

Description Generic function Methods Author(s) See Also Examples

Description

The Coefficient of Variation of an object with mutiple iterations along the sixth (iter) dimension can be calculated using cv(). An object of the same class, with length=1 on the sixth dimension, will be returned.

CV of x is calculated as sd(x)/mean(x).

For objects of class FLModel, cv returns the result of

sqrt(diag(sigma))/theta

where sigma is the variance-covariance matrix of the theta parameter set.

Generic function

cv(object)

Methods

signature(object=FLQuant) :

Works along the iter dimension of an FLQuant

Author(s)

The FLR Team

See Also

FLComp

Examples

1
2
flq <- FLQuant(rnorm(200, 5, 10), dim=c(5,10), iter=100)
cv(flq)

FLCore documentation built on May 2, 2019, 5:46 p.m.