thanks. i think i understand: the difference is that the first command
converts my 'searched-for' date to a number and matches it, but the second
does not?
On 13 June 2012 12:58, Joshua Ulrich wrote:
> On Tue, Jun 12, 2012 at 9:48 PM, Matthew Johnson
> wrote:
> > Dear R experts,
> >
> > I am le
On Tue, Jun 12, 2012 at 9:48 PM, Matthew Johnson wrote:
> Dear R experts,
>
> I am learning the very useful XTS package, but cannot figure out the
> purpose of some commands.
>
> in particular, the .indexDate() command does not work as expected.
>
> say:
>
> x <- timeBasedSeq('2010-01-01/2010-01-0
Dear R experts,
I am learning the very useful XTS package, but cannot figure out the
purpose of some commands.
in particular, the .indexDate() command does not work as expected.
say:
x <- timeBasedSeq('2010-01-01/2010-01-02 12:00')
x <- xts(1:length(x), x)
then i can subset on date as follows:
3 matches
Mail list logo