`num2vec` represents the numbers presented as arguments as column vectors from the design matrix.
num2vec(x, k)
x | column number to represent. |
---|---|
k | (Optional) number of basic factors to consider. Default is ceil(log2(x)). |
If a numeric vector is supplied to the function, then a matrix is returned. The cplumn size of the matrix corresponds to the size of the vector.