View source: R/optimize_weights.R
| optimizeWeights | R Documentation |
Find SCM weights using quadratic optimization
optimizeWeights(X0, X1, V, margin.ipop = 5e-04, sigf.ipop = 5, bound.ipop = 10)
X0 |
FPCA score and covariate matrix for controls |
X1 |
FPCA score and covariate matrix for the treatment |
V |
Matrix specificing importance of FPCA scores and covariates for determining weights. |
margin.ipop |
how close we get to the constraints; passed to ipop() |
sigf.ipop |
Precision; passed to ipop() |
bound.ipop |
Clipping bound for the variables; passed to ipop() |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.