find_parameters_btn_operators {packDAMipd} | R Documentation |
Function to return parameters with in a expression containing operators
Description
Function to return parameters with in a expression containing operators
Usage
find_parameters_btn_operators(expr)
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
find_parameters_btn_operators("a+b")
[Package packDAMipd version 1.1.0 Index]