Learn R Programming

term (version 0.1.0)

is.inconsistent_terms: Is Inconsistent Terms

Description

Tests whether a term vector has inconsistent elements.

Usage

is.inconsistent_terms(x, ...)

# S3 method for term is.inconsistent_terms(x, ...)

Arguments

x

The object.

...

Unused.

Value

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

Methods (by class)

  • term: Test whether a term vector is inconsistent

See Also

term-vector() and consistent_term()

Examples

Run this code
# NOT RUN {
is.inconsistent_terms(as.term("b[2]"))
is.inconsistent_terms(as.term(c("b[2]", "b[1]")))
is.inconsistent_terms(as.term(c("b[2]", "b[1,1]")))
# }

Run the code above in your browser using DataLab