Description Usage Arguments Value Methods (by generic) Note See Also Examples
Create a vector of unevenly spaced time series ("uts_vector"
).
is.uts_vector
returns TRUE
if its argument is a "uts_vector"
object.
1 2 3 4 5 6 7 8 9 | uts_vector(...)
## S3 method for class 'uts'
c(...)
## S3 method for class 'uts_vector'
c(...)
is.uts_vector(x)
|
... |
zero or more |
x |
an R object. |
An object of class "uts_vector"
.
c
: constructor for "uts_vector"
object out of "uts"
objects.
c
: constructor for "uts_vector"
object out of "uts"
and other "uts_vector"
objects.
An abstract class "uts_virtual"
exists from which "uts"
, "uts_vector"
, and "uts_matrix"
inherit: it is used to allow operations such as subtraction to mix the classes.
rep.uts
, uts_vector_long
, uts_vector_wide
for alternative constructors.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # Two equivalent constructors
uts_vector(apples=ex_uts(), oranges=ex_uts2())
c(apples=ex_uts(), oranges=ex_uts2())
# Create "uts_vector" out of both "uts" and "uts_vector" objects
c(ex_uts(), ex_uts_vector(), kiwis=ex_uts2())
# Empty "uts_vector"
uts_vector()
# The first two test return TRUE, the other returns FALSE
is.uts_vector(uts_vector())
is.uts_matrix(uts_matrix()) # "uts_matrix" inherits from "uts_vector"
is.uts_vector(ex_uts())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.