cvar {RandomWalker}R Documentation

Cumulative Variance

Description

A function to return the cumulative variance of a vector.

Usage

cvar(.x)

Arguments

.x

A numeric vector

Details

A function to return the cumulative variance of a vector. exp(cummean(log(.x)))

Value

A numeric vector. Note: The first entry will always be NaN.

Author(s)

Steven P. Sanderson II, MPH

See Also

Other Vector Function: cgmean(), chmean(), ckurtosis(), cmean(), cmedian(), crange(), csd(), cskewness(), euclidean_distance(), kurtosis_vec(), rw_range(), skewness_vec()

Examples

x <- mtcars$mpg

cvar(x)


[Package RandomWalker version 0.3.0 Index]