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