View source: R/05_01_validate_model_input.R
check_parentheses_balance | R Documentation |
This function checks if all parentheses in a given equation string are correctly paired and balanced. If there are no parentheses, the equation is considered trivially balanced. It returns 'TRUE' if the parentheses are balanced and 'FALSE' otherwise.
check_parentheses_balance(eq)
eq |
A character string representing an equation. |
A logical value indicating whether the parentheses are balanced ('TRUE') or not ('FALSE').
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.