This could be `function acf(x::AbstractVector, lags::Ranges; demean::Number=mean(x), actype::ASCIIString="correlation")` and then we can just subtract `demean`. Then one can set `demean=0` to avoid subtracting the mean. In this case I'm not sure the name `demean` is the best choice, though.