find_parameters_btn_operators: Function to return parameters with in a expression containing...

Description Usage Arguments Details Value Examples

View source: R/help_model_functions.R

Description

Function to return parameters with in a expression containing operators

Usage

1

Arguments

expr

an expression

Details

This function returns the parameters between the operators if the state value or probabilities are defined as expressions, we need to extract the parameters and then assign First the position of all operators are found and then return the parameters separated by those operators This happens only for one level find_parameters_btn_operators("a+b") provides a and b but for find_parameters_btn_operators("mean(a,b)+b") provides mean(a,b) and b

Value

parameters in the expression expr

Examples

1

packDAMipd documentation built on March 3, 2021, 5:07 p.m.