expand_compound_constraints function

Expand compound constraints

Expand compound constraints

Takes a compound constraint, with multiple (in)equality operators, and expands it into simple constraints.

expand_compound_constraints(hyp)

Arguments

  • hyp: Character. An (in)equality constraint

Returns

A character vector with one element for each simple constraint

  • Maintainer: Caspar J van Lissa
  • License: GPL (>= 3)
  • Last published: 2024-06-12