Create a subset of a constraints
object:
constraints[i]
subsetConstraints(constraints, 1:10)
Combine two constraints
objects:
c(constraints1, constraints2)
combineConstraints(constraints1, constraints2)
subsetConstraints(x, i = NULL)
combineConstraints(x1, x2)
# S4 method for class 'constraints,numeric'
x[i, j, ..., drop = TRUE]
# S4 method for class 'constraints'
c(x, ...)
a constraints
object.
indices to use in subsetting.
not used, exists for compatibility.
not used, exists for compatibility.