timeSeries | R Documentation |
timeSeries
Object
Creates an object of class timeSeries
.
timeSeries(data, positions., units., from = timeCalendar(d = 1,
m = 1, y = 1960), by = "days", k.by = 1, align.by = FALSE,
week.align = NULL)
data |
( |
positions. |
( |
units. |
( |
from |
the starting value of the sequence. A |
by |
the spacing between successive values in the sequence. Can be
a Alternatively, it can be one of the following character strings:
giving the time units of intervals between values in the sequence. |
k.by |
a non-zero integer giving the width of the interval between consecutive
values in the sequence in terms of the units given in |
align.by |
a logical value. If |
week.align |
if
In either case, the |
an object of class "timeSeries"
.
See the
timeSeries
class help file
for the names and structure of the slots in the object.
timeSeries
class.
timeSeries(pos=timeCalendar(d=1:10), data=1:10)
timeSeries(data=data.frame(x=1:10, y=11:20), from="7/4/2000", by="bizdays")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.