Completes an object's terms.
Usage
complete_terms(x, ...)
# S3 method for class 'term'
complete_terms(x, ...)
# S3 method for class 'term_rcrd'
complete_terms(x, ...)Methods (by class)
complete_terms(term): Complete Terms for a term Vectorcomplete_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]
complete_terms(term_rcrd("b[3]", "b[1]", "b[2]"))
#> <term_rcrd[3]>
#> [1] b[3] b[1] b[2]
complete_terms(term_rcrd("z[2,2]", "z[1,1]"))
#> <term_rcrd[4]>
#> [1] z[2,2] z[1,1] z[2,1] z[1,2]
