as.term | R Documentation |
as.term
coerces a character vector to a Term object.
as.term(x, ...)
x |
a character to be coerced to a Term. |
... |
additional arguments. Currently unused. |
The string representation of the Term class follows the layout:
NUMBER UNITS
where units is one of: days, months, years.
A Term
object created from a string.
t <- as.term("6 months")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.