as_term_rcrd | R Documentation |
Coerces an R object to a term_rcrd
.
as_term_rcrd(x, ...) ## S3 method for class 'character' as_term_rcrd(x, repair = FALSE, ...) ## S3 method for class 'numeric' as_term_rcrd(x, name = "par", ...) ## S3 method for class 'term' as_term_rcrd(x, repair = FALSE, ...)
x |
The object. |
... |
Unused. |
repair |
A flag specifying whether to repair terms. |
name |
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
as_term()
and repair_terms()
as_term(matrix(1:4, 2)) as_term(c("parm3[10]", "parm3[2]", "parm[2,2]", "parm[1,1]"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.