View source: R/clustered_weights.R
create_constraints_cluster | R Documentation |
Create the constraints for QP: l <= Ax <= u
create_constraints_cluster(
ind_covs,
clus_covs,
trt,
clusters,
lowlim,
uplim,
verbose
)
ind_covs |
n x d1 matrix of covariates for individual units |
clus_covs |
n x d2 matrix of covariates for clusters |
trt |
n vector of treatment assignment |
lowlim |
Lower limit on weights |
uplim |
Upper limit on weights |
verbose |
Whether to show messages |
A, l, and u
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.