makeDesign(k, X)
pmakeDesign(k, X)
makeDesign
sums up all design matrix coefficients corresponding
to non-negative contrast coefficients as a new intercept. A dummy
variable for a second parameter of interest is introduced as the sum of
all design matrix entries corresponding to the positive contrast
coefficients. If no negative contrast coefficient is found,
pmakeDesign
sets the intercept covariates to the entries of the
first column of the design matrix corresponding to a negative contrast coefficient.