Learn R Programming

term (version 0.1.0)

is.term: Is Term

Description

Tests whether an R object inherits from class term.

Usage

is.term(x)

Arguments

x

The object.

Value

A flag indicating whether the test was positive.

Details

It does not test the validity of consistency of the term elements.

See Also

term-vector(), valid_term() and consistent_term()

Examples

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

Run the code above in your browser using DataLab