powered by
J(x, ...) "J"(x, ...) "J"(x, ...)
L_constraint
Q_constraint
F_constraint
L <- matrix(c(3, 4, 2, 2, 1, 2, 1, 3, 2), nrow=3, byrow=TRUE) lc <- L_constraint(L = L, dir = c("<=", "<=", "<="), rhs = c(60, 40, 80)) J(lc)
Run the code above in your browser using DataLab