powered by
Coerces an R object to a term-vector().
term-vector()
# S3 method for term as.character(x, ...)as.term(x, ...)# S3 method for character as.term(x, repair = FALSE, ...)# S3 method for numeric as.term(x, name = "par", ...)
as.term(x, ...)
# S3 method for character as.term(x, repair = FALSE, ...)
# S3 method for numeric as.term(x, name = "par", ...)
The object.
Unused.
A flag specifying whether to repair terms.
A string specifying the name of the parameter.
term: Coerce term vector to character vector
term
character: Coerce character vector to term vector
character
numeric: Coerce default object to term vector
numeric
term-vector() and repair_terms()
repair_terms()
# NOT RUN { as.term(matrix(1:4, 2)) as.term(c("parm3[10]", "parm3[2]", "parm[2,2]", "parm[1,1]")) # }
Run the code above in your browser using DataLab