is_inconsistent_terms {term}R Documentation

Is Inconsistent Terms

Description

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.

...

Unused.

Value

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

See Also

term-vector() and consistent_term()

Examples

is_inconsistent_terms(term("b[2]"))
is_inconsistent_terms(term("b[2]", "b[1]"))
is_inconsistent_terms(term("b[2]", "b[1,1]"))

[Package term version 0.3.5 Index]