constructFormula: Construct a model formula from parameter constraint matrix
Description
For parameter names defined in naming vector, formula is constructed
so that consMatrix %*% naming = consVector is satisfied. Constraint
coefficients are normalized and convert into fractions.
Non-parameter variables used in the formula and function
evaluation. These will be appended to the formula.
formulaArgs
Character vector of length two. First element indicates
name for the response variable. Second element indicates name of the
function.
Value
This function returns a model construct appropriate for
fitMarginals function. It also separates variables into those
that are free and those which are constrained.