Suppose I'm curious about the workings of the R function, say HoltWinters. I typed HoltWinters
and it shows me R source for the function. On inspection, the source shows the function is a wrapper around a second function:
final.fit <- hw(alpha, beta, gamma)
Presumably, the serious work happens in the function hw. However, I can't find this function anywhere to read its source
> hw
Error: object 'hw' not found
How can I read the source?
Edit: Ok, so now I've read hw
, I see it's a wrapper around C_HoltWinters
. How can I read that?