Displaying 2 results from an estimated 2 matches for "extractit".
Did you mean:
extractlt
2004 Jun 29
1
abline and its objects
...ibm
2004-01-02 91.55
2004-01-05 93.05
2004-01-06 93.06
2004-01-07 92.78
2004-01-08 93.04
2004-01-09 91.21
2004-01-12 91.55
2004-01-13 89.70
2004-01-14 90.31
2004-01-15 94.02
.
.
.
I plot the data. No Problem.
Now I extract the first day of the month in this fashion.
>zi <- extractIts(ibm2,weekday=T,find="first",period="month")
>zi
ibm
2004-01-02 91.55
2004-02-02 99.39
2004-03-01 97.04
2004-04-01 92.37
2004-05-03 88.02
>
Still ok.
I would like to put a vertical line at each of the zi values.
>abline(v=zi,type="h",col=2)
>...
2004 Mar 29
9
Aggregating frequency of irregular time series
> S-Plus has the function AggregateSeries() whose name is self
> explanatory. For instance one can derive monthly series from daily
> ones by specifying end-of-period, averages, sums, etc. I looked for
> a similar function in the packages "its" and "tseries", but found
> nothing. I also help.searched() for aggregate to no avail. Would
> anybody be so kind