This looks like a problem in the chron package. Define:
c.chron <- function(...) chron(do.call("c", lapply(list(...), unclass)))
and then try it again. I will discuss it with the chron maintainer.
On Mon, Sep 28, 2009 at 6:41 AM, gunnar.p wrote:
>
> Hello Gabor,
> thanks for your reply. Pleas
Hello Gabor,
thanks for your reply. Please excuse the insufficient description of my
problem. I hope this one is better:
#Importing my data works basically like this
dts <-
dates(c("19700201","19700201","19700201","19700202","19700202"),format="ymd")
tms <- times(paste(c("21:00", "22:00", "23:00"
Hello Gabor,
I just tried dput() and it seems that running aggregate deletes the
following information from zoo objects:
origin = structure(c(1, 1, 1970))
So before merging I added:
chron(index(z),origin=c(1,1,1970))->index(z)
which solves my problem.
Is that behaviour of aggregate.zoo intended
Please read the last line to every message on r-help. In particular
make it reproducible and minimal. The code you post should look like
this where you have cut down DF1, DF2 and DF3 to the smallest number
of rows that still exhibits the error.
DF1 <- ...output from dput(DF1)
DF2 <- ...outpu
Dear all,
I have several text files looking like this:
9063032 19700201 22:00 174.067
9063032 19700201 23:00 174.076
9063032 19700202 00:00 174.085
9063032 19700202 01:00 174.091
9063032 19700202 02:00 174.094
9063032 19700202 03:00 174.091
9063032 19700202 04:00 174.082
9063032 19
5 matches
Mail list logo