View source: R/model-matrix-PLR.R
model_matrix_PLR | 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.