Description Usage Arguments Details Value Author(s) Examples
blop
matches all rows i in X
to j!=i.
This function is a wrapper of both blopi_lpsolve
and blopi_glpk
.
1 2 3 4 5 6 7 8 9 |
X |
Numeric matrix of size n*K. |
Treat |
Integer vector of size n. Group indicator. Can be either -1 (no group), 0 (control) or 1 (treatment). |
exact |
Numeric matrix with n rows. When specified, exact matching is performed on those variables (see |
solver |
A character scalar. Either |
W |
Numeric matrix of size K*K. When |
p |
Numeric scalar. See |
xi |
Numeric vector of length k. Ith individual covariates. |
D |
Numeric vector. Distances vector (internal use only). |
Both W
and p
are passed to weighted_norm
.
In the case of blop
, a list of class blopmatch_match
:
matches |
A list of size |
status |
An integer vector of length N. A value equal to one indicates that the problem was binded. |
X |
Original matrix |
George G. Vega Yon
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.