I am looking at forecast
package HoltWinters
method code from this link (for code understanding purpose). I couldn't find which "R" source file has this predict
function defined in to look at source code. Can some one please help me on how can trace this function to a specific source code file?
pred <- predict(object,n.ahead=h,prediction.interval=TRUE,level=level[1]/100)
Any help would be appreciated.
It is not exported, but you can find it using the :::
operator:
forecast:::predict.HoltWinters
# function (object, n.ahead = 1, newxreg = NULL, se.fit = TRUE, ...)
# ....