Repair design error in S-Plus arima.diag.
arima.diag.hh(z, acf.resid = TRUE,
lag.max = round(max(gof.lag + n.parms + 1, 10 * log10(n))),
gof.lag = 15, resid = FALSE,
std.resid = TRUE, plot = TRUE, type = "h", ...,The time series. This must be specified when arima.diag is called from inside another function.
Repairs design flaw in S-Plus arima.diag. The location of the time
series is hardwired one level up, so it can't be found when
arima.diag
is not one level down from the top.
This function is a no-op in R.
tsdiagplot in both systems and