Coerces an R object to a term-vector()
.
as_term(x, ...)
as.term(x, ...)
# S3 method for character
as_term(x, repair = FALSE, normalize = repair, ...)
# S3 method for numeric
as_term(x, name = "par", ...)
The object.
Unused.
A flag specifying whether to repair terms.
A flag specifying whether to normalize terms.
A string specifying the name of the parameter.
as_term(character)
: Coerce character vector to term vector
as_term(numeric)
: Coerce numeric object to term vector