as_term | R Documentation |
Coerces an R object to a term-vector()
.
as_term(x, ...)
as.term(x, ...)
## S3 method for class 'character'
as_term(x, repair = FALSE, normalize = repair, ...)
## S3 method for class 'numeric'
as_term(x, name = "par", ...)
x |
The object. |
... |
These dots are for future extensions and must be empty. |
repair |
A flag specifying whether to repair terms. |
normalize |
A flag specifying whether to normalize terms. |
name |
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
term-vector()
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.