Why doesn't max cross-correlation equal exactly 1 between two identical vectors with a designed-in lag? (R, ccf)
What makes cross-correlation (R, ccf) different from "sliding" one of the curves by different lags and correlating?