Build a (sparse) design matrix for new data (stm-compatible)
Source:R/stm-helpers.R
makeDesignMatrix.RdPort of stm:::makeDesignMatrix: builds the model matrix for newData using
the term structure and factor levels of origData.
R/stm-helpers.R
makeDesignMatrix.RdPort of stm:::makeDesignMatrix: builds the model matrix for newData using
the term structure and factor levels of origData.