Description Usage Arguments Value Author(s)
Creates a constraint equation based on the input data frame.
1 | constraint.equation(x, weight.var, match.var, replace)
|
x |
data frame containing needed input data |
weight.var |
character name of the column of the input weights |
match.var |
character vector of names of columns of 'data' we wish to match on |
replace |
logical indicating whether or not bservations weighted in the original weight.var are allowed positive weight in the output. |
A list with two named components: A and b, representing the components of the constraint equation Ax = b
David Kane <dave.kane@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.