expand_parentheses: Expand parentheses

View source: R/create_matrices.R

expand_parenthesesR Documentation

Expand parentheses

Description

Takes a constraint with parentheses containing a "vector" of parameter labels, and recursively expands the parenthesized "vectors".

Usage

expand_parentheses(hyp)

Arguments

hyp

Character. An (in)equality constraint

Value

A character vector with one element for each simple constraint


bain documentation built on Sept. 27, 2023, 5:06 p.m.