num2vec: Vector representation of a column number

Description Usage Arguments Details

View source: R/generators.R

Description

'num2vec' represents the numbers presented as arguments as column vectors from the design matrix.

Usage

1
num2vec(x, k)

Arguments

x

column number to represent.

k

(Optional) number of basic factors to consider. Default is ceil(log2(x)).

Details

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.


ABohynDOE/mldoeR documentation built on Dec. 17, 2021, 6:40 a.m.