Description Usage Arguments Details
This function takes a formula, a vector of term formulae and estimates a constrained linear model, giving it class impliedCF.lm
so that the predict routine can be used as well.
1 2 3 4 |
terms |
Formulae for left and right hand side terms (individual components of formula). The explained variables is assumed to be in |
data |
Data frame with right hand side variables |
R |
Matrix of linear restrictions of the form Rb >= r |
r |
Right hand side of linear restriction Rb >= r |
weights |
For some weighted least squares |
meq |
check |
model |
model of class |
newdata |
conforming data frame |
Wrapper to solve.QP
for estimating constrained linear models.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.