Skip to contents

Checks if a formula contains only the allowed elements

Usage

is_formula_valid(formula, allowed_elements)

Arguments

formula

Character string defining t

allowed_elements

Vector of character strings defining allowed elements

Examples

### Helper function ###