'Renaming xreg variables names in arima summary() output in R forecast package

I use forecast package in R.

Hyndman says:

The arima() function in R (and Arima() and auto.arima() from the forecast package) fits a regression with ARIMA errors.

I have an output for auto.arima()

Regression with ARIMA(5,0,0) errors 

Coefficients:
     ar1      ar2     ar3      ar4     ar5  intercept   xreg1    xreg2    xreg3    xreg4   
xreg5   xreg6   xreg7    xreg8   xreg9
  0.0212  -0.0530  0.7005  -0.0232  0.0334   862.0474  -4e-04  -0.0303  -0.0659  -0.1657  4.4673  0.1958  0.3381  -0.4270  5.3478
s.e.  0.0087   0.0086  0.0062   0.0087  0.0087   285.6206   1e-04   0.0604   0.0648   1.7225  0.5952  0.0213  0.0138   0.1415  0.0707

sigma^2 = 15.05:  log likelihood = -37334.05
AIC=74700.1   AICc=74700.14   BIC=74820.22

Training set error measures:
                    ME     RMSE      MAE MPE MAPE      MASE         ACF1
Training set -0.0001219744 3.877156 1.434961 NaN  Inf 0.3321699 -0.007453887

Can I rename all xreg variables somehow and have real names in my summary output?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source