Completes an object's terms.

complete_terms(x, ...)

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

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

Arguments

x

The object.

...

Unused.

Details

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

Methods (by class)

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

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

Examples

complete_terms(term("b[3]", "b[1]", "b[2]"))
#> <term[3]>
#> [1] b[3] b[1] b[2]
complete_terms(term("z[2,2]", "z[1,1]"))
#> <term[4]>
#> [1] z[2,2] z[1,1] z[2,1] z[1,2]
if (FALSE) { # \dontrun{
complete_terms(term_rcrd("b[3]", "b[1]", "b[2]"))
complete_terms(term_rcrd("z[2,2]", "z[1,1]"))
} # }