model_matrix_PLR {LorenzRegression} | R Documentation |
model_matrix_PLR
is a utilitary function that provides the design matrix for the Penalized Lorenz Regression
model_matrix_PLR(mt, mf)
mt |
Model terms |
mf |
Model frame |
This function ensures that the design matrix is constructed according to the requirements of the PLR. In PLR, one must exclude the intercept and use one-hot encoding for all variables, except when binary
The design matrix