Displaying 3 results from an estimated 3 matches for "chrondat".
Did you mean:
chrondate
2005 Nov 15
1
origin and "origin<-" functions on chron
I'm trying to use/modify some code I found (at Omegahat, but I've seem similar usage elsewhere.)
It contains the lines:
if(any(origin(chronDate)!=orig))
origin(chronDate) <- orig
Let's say:
> require("chron")
[1] TRUE
> chronDate <- chron("11/15/2005", format="m/d/y", origin.=c(12,31,1899))
> orig <- c(month=12, day=31, year=1899)
> origin(chronDate)
Error: couldn't find fu...
2005 Nov 16
1
COM dates (was origin and "origin<-" in chron)
...n see not to avoid them.
>
>
> On 11/15/05, davidr@rhotrading.com <davidr@rhotrading.com> wrote:
> > I'm trying to use/modify some code I found (at Omegahat, but I've
seem
> similar usage elsewhere.)
> > It contains the lines:
> > if(any(origin(chronDate)!=orig))
> > origin(chronDate) <- orig
> >
> > Let's say:
> > > require("chron")
> > [1] TRUE
> > > chronDate <- chron("11/15/2005", format="m/d/y",
> origin.=c(12,31,1899))
> > > orig <-...
2006 Feb 22
2
Error in RBloomberg
...using blpGetData given in
help file I'm getting the following error message.
conn <- blpConnect()
edb <- blpGetData(conn, "ED1 Comdty", "PX_LAST",
start=chron("1/1/06"), end=chron("1/31/06"))
The error message: Error in any (origin(chronDate) != orig) : couldn't
find function "origin".
Any help regarding this is appreciated in advance.
Thanks,
Sumanta Basak.
[[alternative HTML version deleted]]