Quantify the smoothness of a vector
smoothness(x, method = "cor", lag = 1, iterations = NULL, ...)
Numeric vector (similar to a time series).
Can be "diff" (the standard deviation of the standardized differences) or "cor" (default, lag-one autocorrelation).
An integer indicating which lag to use. If less than 1, will be interpreted as expressed in percentage of the length of the vector.
The number of bootstrap replicates for computing standard
Arguments passed to or from other methods.
Value of smoothness.