get_vars_pars: Extract the variables and parameters from a flow. used by...

View source: R/get_vars_pars.R

get_vars_parsR Documentation

Extract the variables and parameters from a flow. used by prepare_diagram

Description

The flow must be a character string as used in flowdiagramr and modelbuilder.

Usage

get_vars_pars(flow)

Arguments

flow

A flow, which is a character string.

Details

This function takes as input a single flow expression and extracts the variables and parameters (excludes the math notation).

Value

A character vector of the variables and parameters, in order.

Author(s)

Andrew Tredennick and Andreas Handel


andreashandel/modeldiagram documentation built on July 31, 2023, 10:05 a.m.