makeDesign: Create a design matrix from a character vector.
Description
This function wraps around model.matrix to create a design matrix based on the different levels in model.matrix. Note that the order of the column names of the design matrix will be in lexicographic order according to the locale in use. For more, see ?Comparison
Usage
makeDesign(x)
Value
A design matrix as the same type as returned using ?model.matrix.
Arguments
x
Character vector to be used to create the design matrix.