uniqdif.Rd
Wrapper of unique(diff(x)) with tolerance check
uniqdif(x, tol = 1e-08)
A numeric vector.
A numeric tolerance for detecting non-uniform spacing. Default is 1e-8.
A numeric value if uniform, or a vector of unique differences otherwise.