timeSeries-class | R Documentation |
Class "timeSeries"
in package timeSeries.
The main functions for creating objects from class "timeSeries"
timeSeries
and as.timeSeries
.
Objects can also be created by calls of the form
new("timeSeries", .Data, units, positions, format, FinCenter,
recordIDs, title, documentation)
but this is not recommended for
routine work.
The structure of the "timeSeries"
objects should, in general,
be considered internal. The accessor functions to get and set
the components should be used to get and set values of the slots.
.Data
:Object of class "matrix"
containing the data, one column
for each variable.
units
:Object of class "character"
, the unit (or variable, or
column) names of the time series object.
positions
:Object of class "numeric"
, the datetime stamps. If the time
series doesn't have datetime stamps, then positions
is of
length zero.
format
:Object of class "character"
, a datetime format (such as
"%Y-%m-%d"
). if there are no time stamps "format"
is
equal to "counts"
.
FinCenter
:Object of class "character"
, the financial center.
recordIDs
:Object of class "data.frame"
~~
title
:Object of class "character"
, a title for printing.
documentation
:Object of class "character"
, by default it is set to the
current date.
Class "structure"
, from data part.
Class "vector"
, by class "structure", distance 2, with explicit coerce.
Below is a list of the methods that have "timeSeries"
in their
signature. It can be useful for technical purposes, for example in
reporting bugs but most methods that need explanation are documented
with the corresponding functions and looking at their help pages is recommended.
There are short explanations for methods for functions that are not supposed to be called directly.
signature(x = "timeSeries", i = "ANY", j = "index_timeSeries")
: ...
signature(x = "timeSeries", i = "character", j = "character")
: ...
signature(x = "timeSeries", i = "character", j = "index_timeSeries")
: ...
signature(x = "timeSeries", i = "character", j = "missing")
: ...
signature(x = "timeSeries", i = "index_timeSeries", j = "character")
: ...
signature(x = "timeSeries", i = "index_timeSeries", j = "index_timeSeries")
: ...
signature(x = "timeSeries", i = "index_timeSeries", j = "missing")
: ...
signature(x = "timeSeries", i = "matrix", j = "missing")
: ...
signature(x = "timeSeries", i = "missing", j = "character")
: ...
signature(x = "timeSeries", i = "missing", j = "index_timeSeries")
: ...
signature(x = "timeSeries", i = "missing", j = "missing")
: ...
signature(x = "timeSeries", i = "time_timeSeries", j = "ANY")
: ...
signature(x = "timeSeries", i = "time_timeSeries", j = "character")
: ...
signature(x = "timeSeries", i = "time_timeSeries", j = "index_timeSeries")
: ...
signature(x = "timeSeries", i = "time_timeSeries", j = "missing")
: ...
signature(x = "timeSeries", i = "timeDate", j = "character")
: ...
signature(x = "timeSeries", i = "timeDate", j = "index_timeSeries")
: ...
signature(x = "timeSeries", i = "timeDate", j = "missing")
: ...
signature(x = "timeSeries", i = "timeSeries", j = "index_timeSeries")
: ...
signature(x = "timeSeries", i = "timeSeries", j = "missing")
: ...
signature(x = "timeSeries", i = "character", j = "ANY")
: ...
signature(x = "timeSeries", i = "character", j = "missing")
: ...
signature(x = "timeSeries", i = "timeDate", j = "ANY")
: ...
signature(x = "timeSeries", i = "timeDate", j = "missing")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries", value = "ANY")
: ...
signature(x = "timeSeries", value = "factor")
: ...
signature(x = "timeSeries", value = "numeric")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(X = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(what = "timeSeries")
: ...
signature(x = "ANY", y = "timeSeries")
: ...
signature(x = "timeSeries", y = "ANY")
: ...
signature(x = "timeSeries", y = "missing")
: ...
signature(x = "timeSeries", y = "timeSeries")
: ...
signature(from = "ANY", to = "timeSeries")
signature(from = "character", to = "timeSeries")
signature(from = "data.frame", to = "timeSeries")
signature(from = "timeSeries", to = "data.frame")
signature(from = "timeSeries", to = "list")
:
signature(from = "timeSeries", to = "matrix")
signature(from = "timeSeries", to = "ts")
:
signature(from = "ts", to = "timeSeries")
:
coerce
should not be called directly.
Use as(object, "target_class")
instead.
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries", value = "ANY")
: ...
signature(x = "timeSeries", value = "matrix")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries", value = "list")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(object = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(.Object = "timeSeries")
:
don't call "initialize"
, call new("timeSeries", ...)
instead. Even better, call timeSeries
.
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "ANY", y = "timeSeries")
: ...
signature(x = "matrix", y = "timeSeries")
: ...
signature(x = "numeric", y = "timeSeries")
: ...
signature(x = "timeSeries", y = "ANY")
: ...
signature(x = "timeSeries", y = "matrix")
: ...
signature(x = "timeSeries", y = "missing")
: ...
signature(x = "timeSeries", y = "numeric")
: ...
signature(x = "timeSeries", y = "timeSeries")
: ...
signature(object = "timeSeries")
: ...
signature(object = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(e1 = "array", e2 = "timeSeries")
: ...
signature(e1 = "timeSeries", e2 = "array")
: ...
signature(e1 = "timeSeries", e2 = "timeSeries")
: ...
signature(e1 = "timeSeries", e2 = "ts")
: ...
signature(e1 = "timeSeries", e2 = "vector")
: ...
signature(e1 = "ts", e2 = "timeSeries")
: ...
signature(e1 = "vector", e2 = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "ANY", y = "timeSeries")
: ...
signature(x = "timeSeries", y = "ANY")
: ...
signature(x = "timeSeries", y = "missing")
: ...
signature(x = "timeSeries", y = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries", value = "ANY")
: ...
signature(x = "timeSeries", value = "timeDate")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries", value = "ANY")
: ...
signature(x = "timeSeries", value = "matrix")
: ...
signature(object = "timeSeries")
: ...
signature(object = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(object = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
signature(x = "timeSeries")
: ...
timeSeries
and
as.timeSeries
for creating and converting to
"timeSeries"
,
readSeries
for importing from a text file,
dummyDailySeries
for creation of dummy daily and monthly time series,
as.matrix
, time
, finCenter
,
getUnits
, dim
, start
,
etc., for accessing properties of the time series.
## see the help page for timeSeries()
showClass("timeSeries")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.