[R] Fetching datapoints from a Time Series
John Kane
jrkrideau at yahoo.ca
Wed Oct 24 15:41:35 CEST 2007
Maybe ?window
--- Megh Dal <megh700004 at yahoo.com> wrote:
> Hi all,
> I have a time series like that :
> Date Value
> 01/03/05 -0.008471364
> 01/04/05 -0.008153802
> 01/05/05 -0.000780031
> 01/06/05 -0.000130064
> 01/07/05 -0.000650576
> 01/08/05 -0.000130166
> 01/10/05 -0.004174282
> 01/11/05 0.01027384
> 01/12/05 -0.006099558
> 01/13/05 -0.009811054
> 01/14/05 0.000657073
>
> I import this dataset as a zoo object. Now I want to
> fetch the dataset between two particular dates. For
> example if I want to get data point between 01/02/05
> and 01/09/05 I should get :
> 01/03/05 -0.008471364
> 01/04/05 -0.008153802
> 01/05/05 -0.000780031
> 01/06/05 -0.000130064
> 01/07/05 -0.000650576
> 01/08/05 -0.000130166
>
> Can anyone please tell me how to do that? Is there
> any function to do that?
> Regards,
>
>
> __________________________________________________
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained,
> reproducible code.
>
More information about the R-help
mailing list