| create_P_matrix | R Documentation | 
Create the P matrix for an QP that solves min_x 0.5 * x'Px + q'x
create_P_matrix(n, aux_dim)
| X | n x d matrix of covariates | 
| Z | Vector of group indicators | 
P matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.