The current implementation breaks if only one model is passed as , e.g., qarr[, , k] might return a vector which yields an error when passed to cbind. The proposed changes ensure this is always an array.
In addition, it avoids adding columns twice when intercept is passed.
The current implementation breaks if only one model is passed as , e.g.,
qarr[, , k]
might return a vector which yields an error when passed tocbind
. The proposed changes ensure this is always an array.In addition, it avoids adding columns twice when
intercept
is passed.