get_math: Extract the math symbols from a flow

View source: R/get_math.R

get_mathR Documentation

Extract the math symbols from a flow

Description

The flow must be a character string of typical modelbuilder model structure. The function also concatenates parentheses and the notation before and after them as necessary.

Usage

get_math(flow, flowsymbols)

Arguments

flow

A modelbuilder flow, which is a character string.

flowsymbols

A character vector of the flow variables and parameters, as returned from get_vars_pars.

Details

This function takes as input a modelbuilder flow and extracts the math symbols/notation.

Value

A character vector of the math symbols, in order.

Author(s)

Andrew Tredennick and Andreas Handel


andreashandel/modelbuilder documentation built on April 16, 2024, 8:48 a.m.