Description Usage Arguments Value Examples
fameIsScalar
checks whether or not its argument could be a
'scalar' in FAME parlance, i.e., if it is a character vector or an atomic object of length
one and not a time series or time indexed series. ti
objects of
length one are what FAME calls a 'date', other scalars are strings,
numbers, and logicals of length one. A vector of strings may be
represented in FAME as a 'namelist'.
1 | fameIsScalar(x)
|
x |
object to be checked. |
TRUE
or FALSE
.
1 2 3 | fameIsScalar("this is a scalar, since it has length one")
fameIsScalar(c("returns FALSE", "since it has length two"))
fameIsScalar(tis::today())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.