View source: R/normalize-terms.R
normalize_terms | R Documentation |
Normalizes a term vector.
normalize_terms(x)
x |
The object. |
If a parameter such as b
is a scalar then b[1]
is replaced by b
but if higher indices are included such as b[2]
then b
is replaced by b[1]
.
The normalized term vector.
term-vector()
and repair_terms()
normalize_terms(new_term(c("b", "b[3]")))
normalize_terms(new_term(c("b[1]", "a[3]")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.