Learn R Programming

term (version 0.3.5)

complete_terms: Complete Terms

Description

Completes an object's terms.

Usage

complete_terms(x, ...)

# S3 method for term complete_terms(x, ...)

# S3 method for term_rcrd complete_terms(x, ...)

Arguments

x

The object.

...

Unused.

Methods (by class)

  • complete_terms(term): Complete Terms for a term Vector

  • complete_terms(term_rcrd): Complete Terms for a term_rcrd vector

Details

It must not have any invalid or missing (NA) values.

See Also

term-vector(), repair_terms() and is_incomplete_terms().

Examples

Run this code
complete_terms(term("b[3]", "b[1]", "b[2]"))
complete_terms(term("z[2,2]", "z[1,1]"))
if (FALSE) {
complete_terms(term_rcrd("b[3]", "b[1]", "b[2]"))
complete_terms(term_rcrd("z[2,2]", "z[1,1]"))
}

Run the code above in your browser using DataLab