I'm new to R. I noticed that the acf function of R makes this call:
acf <- .Call(C_acf, x, lag.max, type == "correlation")
I want to find the C_acf function in the c library, and perhaps modify it. Anyone knows how I can find the C_acf function? which C code is it written in? I can even how its modified version be called locally, but I want to know what the C version is doing under the hood.