matrix of independent variables, different columns should correspond to different variables, if not specified only a constant will be used
c
optional, logical, a parameter indicating whether constant is included, if not specified c=TRUE is used, i.e., constant is included
Details
It might happen during computations that lm (which is used inside rec.reg) will produce NA or NaN. In such a case regression coefficients for a given period are taken as \(0\) and p-values for t-test for statistical significance of regression coefficients are taken as \(1\).
It is not possible to set c=FALSE if x=NULL. In such a case the function will automatically reset c=TRUE inside the code.