Skip to contents

Tests whether a term vector has inconsistent elements. Returns TRUE if includes missing or invalid terms.

Usage

is_inconsistent_terms(x, ...)

Arguments

x

The object.

...

These dots are for future extensions and must be empty.

Value

A logical scalar indicating whether the object's terms are inconsistent.

Examples

is_inconsistent_terms(term("b[2]"))
#> [1] FALSE
is_inconsistent_terms(term("b[2]", "b[1]"))
#> [1] FALSE
is_inconsistent_terms(term("b[2]", "b[1,1]"))
#> [1] TRUE