is_term {term} | R Documentation |
Is Term
Description
Tests whether an R object inherits from S3 class term
.
Usage
is_term(x)
Arguments
x |
The object. |
Details
It does not test the validity of consistency of the term elements.
Value
A flag indicating whether the test was positive.
See Also
term-vector()
, vld_term()
, valid_term()
and consistent_term()
Examples
is_term(c("parameter[2]", "parameter[10]"))
is_term(term("parameter[2]", "parameter[10]"))
[Package term version 0.3.5 Index]