Build a list of basis functions from a set of columns
Index or indices (as
numeric) of covariates (columns) of
interest in the data matrix
x for which basis functions ought to be
generated. Note that basis functions for interactions of these columns are
matrix containing observations in the rows and covariates
in the columns. Basis functions are computed for these covariates.