rbind.constraint: Combine Constraints

View source: R/constraints.R

rbind.constraintR Documentation

Combine Constraints

Description

Take a sequence of constraints (ROI objects) arguments and combine by rows, i.e., putting several constraints together.

Usage

## S3 method for class 'constraint'
rbind(..., use.names = FALSE, recursive = FALSE)

Arguments

...

constraints objects to be concatenated.

use.names

a logical if FALSE the names of the constraints are ignored when combining them, if TRUE the constraints are combined based on their variable.names.

recursive

a logical, if TRUE, rbind .

Details

The output type is determined from the highest type of the components in the hierarchy
"L_constraint" < "Q_constraint" < "F_constraint" and
"L_constraint" < "C_constraint".

Value

an object of a class depending on the input which also inherits from "constraint". See Details.

Author(s)

Stefan Theussl


ROI documentation built on April 21, 2023, 1:11 a.m.

Related to rbind.constraint in ROI...