Learn R Programming

term (version 0.3.5)

is_inconsistent_terms: 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, ...)

Value

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

Arguments

x

The object.

...

Unused.

See Also

term-vector() and consistent_term()

Examples

Run this code
is_inconsistent_terms(term("b[2]"))
is_inconsistent_terms(term("b[2]", "b[1]"))
is_inconsistent_terms(term("b[2]", "b[1,1]"))

Run the code above in your browser using DataLab