create_constraints_rct: Create the constraints for QP: l <= Ax <= u

View source: R/standardize_rct.R

create_constraints_rctR Documentation

Create the constraints for QP: l <= Ax <= u

Description

Create the constraints for QP: l <= Ax <= u

Usage

create_constraints_rct(
  Xz,
  trt,
  target,
  Z,
  lowlim,
  uplim,
  exact_global,
  constrain_trt_prop,
  verbose
)

Arguments

Xz

list of J n x d matrices of covariates split by group

target

Vector of population means to re-weight to

Z

Vector of group indicators

lowlim

Lower limit on weights

uplim

Upper limit on weights

Value

A, l, and u


ebenmichael/balancer documentation built on Jan. 17, 2024, 2:56 p.m.