Learn R Programming

RandomWalker (version 0.1.0)

csd: Cumulative Standard Deviation

Description

A function to return the cumulative standard deviation of a vector.

Usage

csd(.x)

Value

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

Arguments

.x

A numeric vector

Author

Steven P. Sanderson II, MPH

Details

A function to return the cumulative standard deviation of a vector.

See Also

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

Examples

Run this code
x <- mtcars$mpg

csd(x)

Run the code above in your browser using DataLab