lpSetupEqualCoef {ivmte} | R Documentation |
Generate equality constraints
Description
This function generates the linear constraints to ensure that certain MTR coefficients are constant across the treatment and control group.
Usage
lpSetupEqualCoef(equal.coef0, equal.coef1, ANames)
Arguments
equal.coef0 |
character, name of terms in |
equal.coef1 |
character, name of terms in |
ANames |
character, name of all terms in |
Value
A list, containing the matrix of linear equality constraints, a vector of equal signs, and a vector of 0s.