Build a list of basis functions from a set of columns

basis_list_cols(cols, x)

## Arguments

cols 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 computed automatically. A matrix containing observations in the rows and covariates in the columns. Basis functions are computed for these covariates.