ratios:
Ratios of Subsequent Elements in a Numeric Vector
Description
Calculates vector of ratios of a numeric vector, i.e. ratio of x[2] to x[1], ratio of x[3] to x[2], and so forth.
Usage
ratios(x)
Arguments
x
Numeric vector.
Value
Numeric vector.
Details
NA
References
Acknowledgment: This material is based upon work supported by the National Science Foundation Graduate Research Fellowship under Grant No. DGE-0940903.