create_constraints_l2 | R Documentation |
Create the constraints for QP: l <= Ax <= u
create_constraints_l2(
Xz,
targetz,
target_propz,
lowlim,
uplim,
exact_global,
verbose
)
Xz |
length J list of n_j x d matrix of covariates for each group j |
targetz |
length J list of d-dimensional vectors of targets for each group j |
target_propz |
J-dimensional vector of group proportions in the target population |
lowlim |
Lower limit on weights |
uplim |
Upper limit on weights |
exact_global |
Boolean whether to include an exact global constraint |
verbose |
Boolean whether to display progress |
A, l, and u
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.